Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.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.8641/0.8641, allocations: 120.4 MB / 140.1 MB, free: 36 kB / 126.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.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005651/0.0005651, allocations: 15.97 kB / 217.7 MB, free: 13.04 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06169/0.06226, allocations: 33.36 MB / 251 MB, free: 11.61 MB / 238.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.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.777/1.839, allocations: 253.9 MB / 0.4931 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04501/1.884, allocations: 30.52 MB / 0.5229 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/1.884, allocations: 4 kB / 0.5229 GB, free: 0.5742 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/PipePressureLoss.mo:35:3-37:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/PipePressureLoss.mo:38:3-40:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003723/1.884, allocations: 97.09 kB / 0.523 GB, free: 492 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/1.885, allocations: 120.4 kB / 0.5232 GB, free: 372 kB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02514/1.91, allocations: 9.694 MB / 0.5326 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006667/1.911, allocations: 346.4 kB / 0.533 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/1.911, allocations: 92.75 kB / 0.533 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/1.911, allocations: 155.3 kB / 0.5332 GB, free: 6.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/1.911, allocations: 99.44 kB / 0.5333 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/1.911, allocations: 16 kB / 0.5333 GB, free: 5.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03301/1.944, allocations: 16.76 MB / 0.5497 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/1.944, allocations: 51.77 kB / 0.5497 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/1.945, allocations: 107.5 kB / 0.5498 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01834/1.963, allocations: 8.454 MB / 0.5581 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.963, allocations: 0 / 0.5581 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/1.963, allocations: 0 / 0.5581 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.513e-06/1.963, allocations: 0 / 0.5581 GB, free: 12.54 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003783/1.967, allocations: 1.403 MB / 0.5594 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/1.967, allocations: 12.03 kB / 0.5595 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/1.967, allocations: 27.81 kB / 0.5595 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/1.967, allocations: 177.2 kB / 0.5597 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/1.967, allocations: 16.5 kB / 0.5597 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/1.967, allocations: 24 kB / 0.5597 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/1.968, allocations: 299.8 kB / 0.56 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.968, allocations: 0 / 0.56 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/1.968, allocations: 12 kB / 0.56 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/1.968, allocations: 15.98 kB / 0.56 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/1.968, allocations: 165.2 kB / 0.5602 GB, free: 10.32 MB / 0.5137 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.03837/2.006, allocations: 10.77 MB / 0.5707 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/2.007, allocations: 114.7 kB / 0.5708 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/2.007, allocations: 73.97 kB / 0.5709 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1598/2.166, allocations: 43.58 MB / 0.6134 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/2.166, allocations: 30.56 kB / 0.6134 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/2.166, allocations: 7.938 kB / 0.6134 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001057/2.168, allocations: 364.5 kB / 0.6138 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/2.168, allocations: 51.41 kB / 0.6138 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/2.168, allocations: 184.4 kB / 0.614 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/2.168, allocations: 25.7 kB / 0.614 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/2.168, allocations: 160.5 kB / 0.6142 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.31e-05/2.168, allocations: 118.9 kB / 0.6143 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/2.168, allocations: 45.7 kB / 0.6144 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001669/2.168, allocations: 334.8 kB / 0.6147 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/2.168, allocations: 75.97 kB / 0.6147 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/2.169, allocations: 128.1 kB / 0.6149 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/2.169, allocations: 212.8 kB / 0.6151 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/2.169, allocations: 0 / 0.6151 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004925/2.169, allocations: 293.7 kB / 0.6154 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/2.169, allocations: 4 kB / 0.6154 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/2.169, allocations: 4 kB / 0.6154 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009588/2.17, allocations: 160.8 kB / 0.6155 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/2.17, allocations: 11.98 kB / 0.6155 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006104/2.171, allocations: 0.6324 MB / 0.6161 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/2.171, allocations: 27.88 kB / 0.6162 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/2.171, allocations: 8 kB / 0.6162 GB, free: 0.707 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (pipePressureLoss.C2.b,pipePressureLoss.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001388/2.171, allocations: 136.2 kB / 0.6163 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/2.171, allocations: 19.86 kB / 0.6163 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008308/2.172, allocations: 0.5875 MB / 0.6169 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003911/2.172, allocations: 220.8 kB / 0.6171 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/2.172, allocations: 3.938 kB / 0.6171 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/2.172, allocations: 4 kB / 0.6171 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/2.174, allocations: 0.6155 MB / 0.6177 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/2.174, allocations: 7.875 kB / 0.6177 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.881e-05/2.174, allocations: 16 kB / 0.6177 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003999/2.174, allocations: 108.8 kB / 0.6178 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/2.174, allocations: 12 kB / 0.6179 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00057/2.175, allocations: 0.6565 MB / 0.6185 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.175, allocations: 0 / 0.6185 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/2.175, allocations: 343 kB / 0.6188 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/2.175, allocations: 27.83 kB / 0.6189 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/2.175, allocations: 15.83 kB / 0.6189 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/2.175, allocations: 4 kB / 0.6189 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/2.175, allocations: 12.05 kB / 0.6189 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/2.175, allocations: 8 kB / 0.6189 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002266/2.176, allocations: 213.3 kB / 0.6191 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/2.176, allocations: 0 / 0.6191 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00298/2.178, allocations: 1.204 MB / 0.6203 GB, free: 12.35 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005496/2.184, allocations: 1.746 MB / 0.622 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005697/2.185, allocations: 213.4 kB / 0.6222 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/2.185, allocations: 0 / 0.6222 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/2.185, allocations: 79.95 kB / 0.6223 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007251/2.186, allocations: 104.5 kB / 0.6224 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009604/2.186, allocations: 0.5176 MB / 0.6229 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/2.187, allocations: 156.9 kB / 0.623 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.638e-05/2.187, allocations: 25.47 kB / 0.623 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/2.187, allocations: 16.5 kB / 0.623 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/2.187, allocations: 0 / 0.623 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of Templates: time 0.065/2.252, allocations: 41.76 MB / 0.6638 GB, free: 15.74 MB / 0.6231 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.214442522963509] Failed to read output from testmodel.py, exit status != 0: 2.531406747060828 2.540171459 0.575024679 Calling exit ...