Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.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.7796/0.7796, allocations: 152.6 MB / 169.6 MB, free: 14.89 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.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004647, allocations: 20.78 kB / 245.6 MB, free: 15.59 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05111/0.05158, allocations: 33.06 MB / 278.7 MB, free: 0.5898 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.Examples.SimpleExamples.TestPipePressureLoss): time 1.523/1.575, allocations: 301.2 MB / 0.5663 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0395/1.614, allocations: 34.56 MB / 0.6 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/1.615, allocations: 0 / 0.6 GB, free: 15.86 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0003517/1.615, allocations: 132.3 kB / 0.6001 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/1.615, allocations: 119.2 kB / 0.6003 GB, free: 15.62 MB / 494.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02134/1.636, allocations: 9.737 MB / 0.6098 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004742/1.637, allocations: 346.4 kB / 0.6101 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/1.637, allocations: 108.4 kB / 0.6102 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/1.637, allocations: 139.4 kB / 0.6103 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/1.637, allocations: 107.5 kB / 0.6104 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/1.637, allocations: 20 kB / 0.6105 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02857/1.666, allocations: 17.9 MB / 0.6279 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/1.666, allocations: 43.78 kB / 0.628 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/1.666, allocations: 139.3 kB / 0.6281 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01441/1.681, allocations: 8.423 MB / 0.6363 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.681, allocations: 4 kB / 0.6363 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/1.681, allocations: 0 / 0.6363 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.681, allocations: 0 / 0.6363 GB, free: 10.62 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.00333/1.684, allocations: 1.494 MB / 0.6378 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/1.684, allocations: 12.03 kB / 0.6378 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/1.684, allocations: 35.75 kB / 0.6378 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/1.684, allocations: 222.7 kB / 0.6381 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/1.684, allocations: 20.38 kB / 0.6381 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/1.684, allocations: 16 kB / 0.6381 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/1.685, allocations: 299.4 kB / 0.6384 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/1.685, allocations: 7.938 kB / 0.6384 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/1.685, allocations: 4 kB / 0.6384 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/1.685, allocations: 15.98 kB / 0.6384 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/1.685, allocations: 165.1 kB / 0.6386 GB, free: 8.215 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.03783/1.723, allocations: 18.13 MB / 0.6563 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/1.723, allocations: 122.5 kB / 0.6564 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/1.723, allocations: 64.84 kB / 0.6564 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3008/2.024, allocations: 77.73 MB / 0.7323 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/2.024, allocations: 32.84 kB / 0.7324 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/2.024, allocations: 0 / 0.7324 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0008356/2.025, allocations: 441.7 kB / 0.7328 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/2.025, allocations: 53.41 kB / 0.7329 GB, free: 210 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/2.025, allocations: 217.5 kB / 0.7331 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/2.025, allocations: 25.7 kB / 0.7331 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/2.025, allocations: 159.4 kB / 0.7332 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/2.025, allocations: 119.3 kB / 0.7333 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/2.025, allocations: 48.95 kB / 0.7334 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.454e-05/2.025, allocations: 333.5 kB / 0.7337 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/2.025, allocations: 74.5 kB / 0.7338 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-05/2.026, allocations: 115.6 kB / 0.7339 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/2.026, allocations: 205.7 kB / 0.7341 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/2.026, allocations: 2.344 kB / 0.7341 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003335/2.026, allocations: 291.3 kB / 0.7344 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/2.026, allocations: 5.5 kB / 0.7344 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/2.026, allocations: 6.125 kB / 0.7344 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000786/2.027, allocations: 158.8 kB / 0.7345 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.961e-05/2.027, allocations: 14.72 kB / 0.7345 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003277/2.027, allocations: 0.6315 MB / 0.7352 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.202e-05/2.027, allocations: 32.09 kB / 0.7352 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/2.027, allocations: 2.656 kB / 0.7352 GB, free: 208.7 MB / 0.5919 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 7.985e-05/2.027, allocations: 138.7 kB / 0.7353 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/2.027, allocations: 24.48 kB / 0.7354 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/2.028, allocations: 0.579 MB / 0.7359 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002752/2.028, allocations: 215.5 kB / 0.7361 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/2.028, allocations: 0 / 0.7361 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/2.028, allocations: 3.609 kB / 0.7361 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/2.029, allocations: 0.7282 MB / 0.7368 GB, free: 208 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/2.029, allocations: 0 / 0.7368 GB, free: 208 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/2.029, allocations: 16.3 kB / 0.7369 GB, free: 208 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003104/2.029, allocations: 112 kB / 0.737 GB, free: 208 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/2.029, allocations: 4.875 kB / 0.737 GB, free: 208 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002891/2.03, allocations: 0.6585 MB / 0.7376 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/2.03, allocations: 0 / 0.7376 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/2.03, allocations: 334.6 kB / 0.7379 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/2.03, allocations: 104.6 kB / 0.738 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/2.03, allocations: 16.08 kB / 0.738 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/2.03, allocations: 12.34 kB / 0.7381 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/2.03, allocations: 8.672 kB / 0.7381 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/2.03, allocations: 3.938 kB / 0.7381 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001629/2.03, allocations: 239.1 kB / 0.7383 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/2.03, allocations: 1.5 kB / 0.7383 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002175/2.032, allocations: 1.202 MB / 0.7395 GB, free: 207.1 MB / 0.5919 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.003651/2.036, allocations: 1.744 MB / 0.7412 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003804/2.036, allocations: 208.7 kB / 0.7414 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/2.036, allocations: 256 / 0.7414 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/2.037, allocations: 91.8 kB / 0.7415 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/2.037, allocations: 117.1 kB / 0.7416 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/2.038, allocations: 0.5335 MB / 0.7421 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/2.038, allocations: 0.7671 MB / 0.7428 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/2.038, allocations: 23.33 kB / 0.7429 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/2.038, allocations: 0 / 0.7429 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.02274/2.061, allocations: 24.88 MB / 0.7672 GB, free: 184.9 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.003822738071904] Failed to read output from testmodel.py, exit status != 0: 2.1656510680913925 2.173350563 0.49073087899999995 Calling exit ...