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 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.8913/0.8913, allocations: 152.6 MB / 168.9 MB, free: 15.03 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.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.0005668/0.0005668, allocations: 19.2 kB / 244.9 MB, free: 15.68 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06437/0.06494, allocations: 33.05 MB / 277.9 MB, free: 0.7148 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.76/1.825, allocations: 300.9 MB / 0.5653 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04502/1.87, allocations: 34.58 MB / 0.5991 GB, free: 180 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/1.871, allocations: 0 / 0.5991 GB, free: 180 kB / 478.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.0003795/1.871, allocations: 135 kB / 0.5992 GB, free: 48 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/1.871, allocations: 115.2 kB / 0.5993 GB, free: 15.93 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.02536/1.896, allocations: 9.741 MB / 0.6088 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005986/1.897, allocations: 338.5 kB / 0.6092 GB, free: 5.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/1.897, allocations: 100.5 kB / 0.6092 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/1.898, allocations: 147.3 kB / 0.6094 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/1.898, allocations: 107.4 kB / 0.6095 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/1.898, allocations: 20 kB / 0.6095 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03255/1.93, allocations: 17.9 MB / 0.627 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.024e-05/1.93, allocations: 51.78 kB / 0.627 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/1.931, allocations: 131.3 kB / 0.6272 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01974/1.95, allocations: 8.423 MB / 0.6354 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.95, allocations: 0 / 0.6354 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/1.95, allocations: 0 / 0.6354 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.95, allocations: 0 / 0.6354 GB, free: 10.93 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.004254/1.955, allocations: 1.486 MB / 0.6368 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.955, allocations: 15.89 kB / 0.6369 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/1.955, allocations: 35.7 kB / 0.6369 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/1.955, allocations: 234.6 kB / 0.6371 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/1.955, allocations: 12.44 kB / 0.6371 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/1.955, allocations: 24 kB / 0.6372 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/1.955, allocations: 299.3 kB / 0.6374 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.955, allocations: 0 / 0.6374 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/1.955, allocations: 12 kB / 0.6374 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/1.956, allocations: 11.98 kB / 0.6375 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/1.956, allocations: 169 kB / 0.6376 GB, free: 8.52 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.04073/1.996, allocations: 18.13 MB / 0.6553 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/1.997, allocations: 118.6 kB / 0.6554 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/1.997, allocations: 68.84 kB / 0.6555 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3932/2.39, allocations: 77.73 MB / 0.7314 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/2.39, allocations: 33.97 kB / 0.7314 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/2.39, allocations: 0 / 0.7314 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0009688/2.391, allocations: 445.9 kB / 0.7319 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/2.391, allocations: 54.31 kB / 0.7319 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/2.391, allocations: 219.2 kB / 0.7321 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/2.391, allocations: 28.52 kB / 0.7322 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/2.391, allocations: 153.8 kB / 0.7323 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/2.392, allocations: 116.8 kB / 0.7324 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/2.392, allocations: 52.33 kB / 0.7325 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/2.392, allocations: 332.2 kB / 0.7328 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/2.392, allocations: 73.53 kB / 0.7328 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/2.392, allocations: 112.8 kB / 0.733 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/2.392, allocations: 209.3 kB / 0.7332 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/2.392, allocations: 0 / 0.7332 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003743/2.392, allocations: 291.3 kB / 0.7334 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/2.393, allocations: 9.75 kB / 0.7334 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/2.393, allocations: 4.125 kB / 0.7334 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008977/2.393, allocations: 157.1 kB / 0.7336 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-05/2.393, allocations: 12.06 kB / 0.7336 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000406/2.394, allocations: 0.6307 MB / 0.7342 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/2.394, allocations: 33.75 kB / 0.7343 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/2.394, allocations: 8.891 kB / 0.7343 GB, free: 209.1 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 9.691e-05/2.394, allocations: 131.1 kB / 0.7344 GB, free: 209 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/2.394, allocations: 22.48 kB / 0.7344 GB, free: 209 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000651/2.395, allocations: 0.5831 MB / 0.735 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003158/2.395, allocations: 216.1 kB / 0.7352 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/2.395, allocations: 2.094 kB / 0.7352 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/2.395, allocations: 0 / 0.7352 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007769/2.396, allocations: 0.7242 MB / 0.7359 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/2.396, allocations: 0.5625 kB / 0.7359 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/2.396, allocations: 14.16 kB / 0.7359 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003596/2.396, allocations: 120.9 kB / 0.736 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/2.396, allocations: 3.875 kB / 0.736 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003297/2.397, allocations: 0.6552 MB / 0.7367 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/2.397, allocations: 5.828 kB / 0.7367 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/2.397, allocations: 338 kB / 0.737 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/2.397, allocations: 105.2 kB / 0.7371 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/2.397, allocations: 13.59 kB / 0.7371 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/2.397, allocations: 7.812 kB / 0.7371 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/2.397, allocations: 9.359 kB / 0.7371 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/2.397, allocations: 4.5 kB / 0.7371 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001884/2.397, allocations: 235.8 kB / 0.7374 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/2.397, allocations: 3.938 kB / 0.7374 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002831/2.4, allocations: 1.199 MB / 0.7385 GB, free: 207.5 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.004343/2.405, allocations: 1.746 MB / 0.7402 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000495/2.405, allocations: 201.6 kB / 0.7404 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/2.405, allocations: 256 / 0.7404 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/2.405, allocations: 93.66 kB / 0.7405 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/2.406, allocations: 123.2 kB / 0.7406 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007054/2.407, allocations: 0.5063 MB / 0.7411 GB, free: 207 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/2.407, allocations: 0.7649 MB / 0.7419 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.708e-05/2.407, allocations: 23.41 kB / 0.7419 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/2.407, allocations: 18.75 kB / 0.7419 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/2.407, allocations: 0 / 0.7419 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.04237/2.449, allocations: 42.47 MB / 0.7834 GB, free: 168 MB / 0.5919 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.406911364756525]