Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9043/0.9043, allocations: 152.6 MB / 169.6 MB, free: 14.92 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005093, allocations: 17.59 kB / 245.6 MB, free: 15.58 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07382/0.07432, allocations: 33.07 MB / 278.7 MB, free: 0.582 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend): time 1.843/1.918, allocations: 301.3 MB / 0.5664 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.619/2.537, allocations: 191.1 MB / 0.7531 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004342/2.537, allocations: 10.19 kB / 0.7531 GB, free: 15.32 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/Bend.mo:57:3-58:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/Bend.mo:59:3-60:67:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003996/2.537, allocations: 202.8 kB / 0.7533 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004481/2.538, allocations: 277.4 kB / 0.7535 GB, free: 15.3 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.04082/2.579, allocations: 12.52 MB / 0.7658 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001013/2.58, allocations: 0.5332 MB / 0.7663 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/2.58, allocations: 243.4 kB / 0.7665 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/2.58, allocations: 250.4 kB / 0.7668 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004142/2.581, allocations: 386.8 kB / 0.7671 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/2.581, allocations: 43.91 kB / 0.7672 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04897/2.63, allocations: 21.14 MB / 0.7878 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003845/2.63, allocations: 205.3 kB / 0.788 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004707/2.631, allocations: 321.1 kB / 0.7883 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03874/2.669, allocations: 10.78 MB / 0.7988 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/2.669, allocations: 0 / 0.7988 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.835e-06/2.669, allocations: 0 / 0.7988 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.601e-05/2.67, allocations: 4 kB / 0.7988 GB, free: 13.12 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.009036/2.679, allocations: 2.334 MB / 0.8011 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/2.679, allocations: 8.031 kB / 0.8011 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/2.679, allocations: 87.44 kB / 0.8012 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/2.68, allocations: 0.5588 MB / 0.8018 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/2.68, allocations: 29 kB / 0.8018 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/2.68, allocations: 40 kB / 0.8018 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009496/2.681, allocations: 488.2 kB / 0.8023 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/2.681, allocations: 0 / 0.8023 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/2.681, allocations: 27.94 kB / 0.8023 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/2.681, allocations: 12 kB / 0.8023 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/2.682, allocations: 414.3 kB / 0.8027 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/2.693, allocations: 6.702 MB / 0.8093 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/2.694, allocations: 107.3 kB / 0.8094 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/2.694, allocations: 44.83 kB / 0.8094 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3523/3.046, allocations: 155.7 MB / 0.9614 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/3.046, allocations: 30.56 kB / 0.9614 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 2.304e-06/3.046, allocations: 0 / 0.9614 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.002341/3.049, allocations: 479.9 kB / 0.9619 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/3.049, allocations: 102.8 kB / 0.962 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/3.051, allocations: 1.071 MB / 0.963 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/3.051, allocations: 29.64 kB / 0.9631 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/3.051, allocations: 403.1 kB / 0.9635 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/3.051, allocations: 39.64 kB / 0.9635 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/3.051, allocations: 77.64 kB / 0.9636 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000204/3.052, allocations: 378.8 kB / 0.9639 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/3.052, allocations: 131.9 kB / 0.9641 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/3.052, allocations: 257 kB / 0.9643 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/3.053, allocations: 320.9 kB / 0.9646 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/3.053, allocations: 0 / 0.9646 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001566/3.054, allocations: 0.5577 MB / 0.9652 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/3.054, allocations: 4.031 kB / 0.9652 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/3.054, allocations: 8 kB / 0.9652 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/3.056, allocations: 205.2 kB / 0.9654 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/3.056, allocations: 43.92 kB / 0.9654 GB, free: 296 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007047/3.057, allocations: 0.6304 MB / 0.966 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/3.057, allocations: 51.66 kB / 0.9661 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/3.057, allocations: 17.38 kB / 0.9661 GB, free: 15.57 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003508/3.057, allocations: 261.6 kB / 0.9663 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/3.057, allocations: 75.41 kB / 0.9664 GB, free: 15.23 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007664/3.058, allocations: 257.8 kB / 0.9666 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/3.058, allocations: 0 / 0.9666 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/3.058, allocations: 1.375 kB / 0.9666 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/3.058, allocations: 7.984 kB / 0.9667 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/3.06, allocations: 0.8413 MB / 0.9675 GB, free: 14.06 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/3.06, allocations: 0 / 0.9675 GB, free: 14.06 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/3.06, allocations: 4 kB / 0.9675 GB, free: 14.05 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/3.061, allocations: 161.2 kB / 0.9676 GB, free: 13.89 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/3.061, allocations: 0 / 0.9676 GB, free: 13.89 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006378/3.062, allocations: 0.6402 MB / 0.9683 GB, free: 13.23 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/3.062, allocations: 3.938 kB / 0.9683 GB, free: 13.23 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/3.063, allocations: 409.6 kB / 0.9687 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/3.064, allocations: 172.6 kB / 0.9688 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.778e-05/3.064, allocations: 4 kB / 0.9688 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/3.064, allocations: 8 kB / 0.9688 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/3.064, allocations: 11.92 kB / 0.9688 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/3.064, allocations: 0 / 0.9688 GB, free: 12.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001049/3.065, allocations: 0.7919 MB / 0.9696 GB, free: 11.81 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/3.065, allocations: 0 / 0.9696 GB, free: 11.81 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005169/3.07, allocations: 1.671 MB / 0.9712 GB, free: 10.13 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009346/3.079, allocations: 2.512 MB / 0.9737 GB, free: 7.898 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007783/3.08, allocations: 233.3 kB / 0.9739 GB, free: 7.672 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/3.08, allocations: 4 kB / 0.9739 GB, free: 7.668 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/3.08, allocations: 51.81 kB / 0.974 GB, free: 7.617 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/3.081, allocations: 90.84 kB / 0.9741 GB, free: 7.539 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/3.084, allocations: 1.122 MB / 0.9752 GB, free: 6.375 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006956/3.084, allocations: 0.9284 MB / 0.9761 GB, free: 5.422 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/3.084, allocations: 47.42 kB / 0.9761 GB, free: 5.375 MB / 0.795 GB Notification: Performance of SimCode: time 5.91e-07/3.084, allocations: 0 / 0.9761 GB, free: 5.375 MB / 0.795 GB Notification: Performance of Templates: time 0.2711/3.355, allocations: 35.7 MB / 1.011 GB, free: 418.6 MB / 0.8106 GB " [Timeout remaining time 656] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.520870829932392] Failed to read output from testmodel.py, exit status != 0: 3.5223390529863536 3.530481975 0.8588115239999999 Calling exit ...