Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8688/0.8688, allocations: 153.8 MB / 173.4 MB, free: 4.883 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005498/0.0005498, allocations: 19.97 kB / 251 MB, free: 3.887 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1695, allocations: 33.35 MB / 284.4 MB, free: 2.078 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine): time 1.877/2.047, allocations: 308 MB / 0.5785 GB, free: 17.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2185/2.265, allocations: 172.5 MB / 0.747 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/2.266, allocations: 11.88 kB / 0.747 GB, free: 8.152 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/SteamEngine.mo:41:3-42:53: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 master/Fluid/Machines/SteamEngine.mo:43:3-44:51:writable] Warning: Connector C2 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 master/Fluid/BoundaryConditions/SinkP.mo:47:3-48: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 master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C 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.0006292/2.266, allocations: 183 kB / 0.7472 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004662/2.267, allocations: 186.7 kB / 0.7473 GB, free: 7.789 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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 master/Properties/WaterSteam/IF97_packages.mo:1445:9-1445:35:writable] Warning: h 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 master/Properties/WaterSteamSimple/prop4_Ps.mo:71:3-71: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 master/Properties/WaterSteamSimple/prop4_Ps.mo:71:3-71: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. Notification: Performance of NFTyping.typeClassSections: time 0.04164/2.309, allocations: 14.5 MB / 0.7615 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008797/2.309, allocations: 0.5137 MB / 0.762 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/2.31, allocations: 181.2 kB / 0.7622 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/2.31, allocations: 243 kB / 0.7624 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/2.31, allocations: 187 kB / 0.7626 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/2.31, allocations: 32 kB / 0.7626 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04755/2.358, allocations: 23.91 MB / 0.786 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/2.358, allocations: 99.62 kB / 0.7861 GB, free: 92 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002924/2.358, allocations: 187.2 kB / 0.7862 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02902/2.387, allocations: 12.32 MB / 0.7983 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/2.387, allocations: 0 / 0.7983 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/2.387, allocations: 0 / 0.7983 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.457e-06/2.387, allocations: 0 / 0.7983 GB, free: 3.555 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.005746/2.393, allocations: 2.151 MB / 0.8004 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/2.393, allocations: 12.03 kB / 0.8004 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/2.393, allocations: 63.56 kB / 0.8004 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/2.394, allocations: 267.8 kB / 0.8007 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/2.394, allocations: 29 kB / 0.8007 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/2.394, allocations: 38.44 kB / 0.8008 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007209/2.395, allocations: 452 kB / 0.8012 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/2.395, allocations: 7.938 kB / 0.8012 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/2.395, allocations: 16 kB / 0.8012 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/2.395, allocations: 21.23 kB / 0.8012 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/2.395, allocations: 274.7 kB / 0.8015 GB, free: 156 kB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07951/2.475, allocations: 22.11 MB / 0.8231 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/2.475, allocations: 82.55 kB / 0.8232 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/2.475, allocations: 60.84 kB / 0.8232 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3251/2.8, allocations: 38.13 MB / 0.8605 GB, free: 296 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/2.8, allocations: 30.56 kB / 0.8605 GB, free: 296 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=34): time 2.545e-06/2.8, allocations: 0 / 0.8605 GB, free: 296 MB / 0.6856 GB Notification: Performance of matching and sorting (n=34): time 0.0008132/2.801, allocations: 340.2 kB / 0.8608 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/2.801, allocations: 57.09 kB / 0.8609 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/2.801, allocations: 322.1 kB / 0.8612 GB, free: 295.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/2.801, allocations: 25.7 kB / 0.8612 GB, free: 295.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/2.801, allocations: 247.6 kB / 0.8614 GB, free: 295.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/2.801, allocations: 118.8 kB / 0.8616 GB, free: 295.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/2.801, allocations: 79.58 kB / 0.8616 GB, free: 295.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/2.802, allocations: 339.1 kB / 0.862 GB, free: 294.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/2.802, allocations: 73.66 kB / 0.862 GB, free: 294.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/2.802, allocations: 190.8 kB / 0.8622 GB, free: 294.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/2.802, allocations: 304.2 kB / 0.8625 GB, free: 294.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/2.802, allocations: 0 / 0.8625 GB, free: 294.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000517/2.803, allocations: 366 kB / 0.8628 GB, free: 294 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/2.803, allocations: 11.94 kB / 0.8629 GB, free: 294 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/2.803, allocations: 8.531 kB / 0.8629 GB, free: 294 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/2.803, allocations: 113.2 kB / 0.863 GB, free: 293.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/2.803, allocations: 39.92 kB / 0.863 GB, free: 293.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003291/2.803, allocations: 0.6025 MB / 0.8636 GB, free: 293.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/2.804, allocations: 37.3 kB / 0.8636 GB, free: 293.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/2.804, allocations: 15.27 kB / 0.8637 GB, free: 293.2 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,steamEngine1.fluid,puitsP.fluid,steamEngine1.C2.diff_on_1,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001508/2.804, allocations: 175.7 kB / 0.8638 GB, free: 293.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/2.804, allocations: 31.77 kB / 0.8638 GB, free: 293.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005751/2.804, allocations: 0.5558 MB / 0.8644 GB, free: 292.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000406/2.805, allocations: 411.8 kB / 0.8648 GB, free: 292.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/2.805, allocations: 0 / 0.8648 GB, free: 292.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/2.805, allocations: 11.92 kB / 0.8648 GB, free: 292.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/2.806, allocations: 1.035 MB / 0.8658 GB, free: 291.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/2.806, allocations: 0 / 0.8658 GB, free: 291.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/2.806, allocations: 49.3 kB / 0.8659 GB, free: 291.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000146/2.806, allocations: 89.92 kB / 0.8659 GB, free: 291.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/2.806, allocations: 11.5 kB / 0.8659 GB, free: 291.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000285/2.806, allocations: 0.6252 MB / 0.8666 GB, free: 290.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.806, allocations: 7.219 kB / 0.8666 GB, free: 290.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/2.807, allocations: 0.5357 MB / 0.8671 GB, free: 290.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/2.807, allocations: 73.59 kB / 0.8672 GB, free: 290.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/2.807, allocations: 12.7 kB / 0.8672 GB, free: 290.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/2.807, allocations: 8 kB / 0.8672 GB, free: 290.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/2.807, allocations: 23.95 kB / 0.8672 GB, free: 290.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/2.807, allocations: 8.062 kB / 0.8672 GB, free: 290.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001641/2.807, allocations: 219.1 kB / 0.8674 GB, free: 290.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/2.807, allocations: 0 / 0.8674 GB, free: 290.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003789/2.811, allocations: 2.072 MB / 0.8694 GB, free: 288.3 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007112/2.818, allocations: 2.976 MB / 0.8723 GB, free: 285.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006576/2.819, allocations: 417.9 kB / 0.8727 GB, free: 285.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/2.819, allocations: 4.062 kB / 0.8728 GB, free: 285.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/2.819, allocations: 170.4 kB / 0.8729 GB, free: 285.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/2.82, allocations: 205.8 kB / 0.8731 GB, free: 285.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/2.821, allocations: 0.9684 MB / 0.8741 GB, free: 284.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/2.822, allocations: 259.7 kB / 0.8743 GB, free: 283.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/2.822, allocations: 35.98 kB / 0.8743 GB, free: 283.8 MB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/2.822, allocations: 4 kB / 0.8743 GB, free: 283.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.04314/2.865, allocations: 41.44 MB / 0.9148 GB, free: 243 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.799784138798714] Failed to read output from testmodel.py, exit status != 0: 2.9773897221311927 2.986524257 0.596699294 Calling exit ...