Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.547/0.547, allocations: 111.6 MB / 131.5 MB, free: 4.906 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.506e-06/3.506e-06, allocations: 0 / 176.5 MB, free: 9.004 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.429e-05, allocations: 2.312 kB / 176.5 MB, free: 9 MB / 170.7 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.TestDiaphragm): time 1.183/1.183, allocations: 262.7 MB / 439.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03254/1.215, allocations: 33.2 MB / 472.5 MB, free: 13.85 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/1.215, allocations: 4 kB / 472.5 MB, free: 13.85 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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:19:3-20:80: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/Diaphragm.mo:20:3-21:80: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/Diaphragm.mo:22:3-23:78: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.0003757/1.216, allocations: 107.3 kB / 472.6 MB, free: 13.74 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/1.216, allocations: 115.2 kB / 472.7 MB, free: 13.63 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.02272/1.239, allocations: 9.943 MB / 482.6 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005685/1.239, allocations: 374.7 kB / 483 MB, free: 3.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/1.239, allocations: 106.7 kB / 483.1 MB, free: 3.168 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/1.24, allocations: 231.3 kB / 483.3 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/1.24, allocations: 83.78 kB / 483.4 MB, free: 2.859 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/1.24, allocations: 16 kB / 483.4 MB, free: 2.844 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2554/1.495, allocations: 16.84 MB / 0.4886 GB, free: 8.172 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/1.495, allocations: 51.77 kB / 0.4886 GB, free: 8.172 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/1.496, allocations: 88.66 kB / 0.4887 GB, free: 8.172 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02435/1.52, allocations: 10.8 MB / 0.4992 GB, free: 3.664 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.52, allocations: 0 / 0.4992 GB, free: 3.664 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.52, allocations: 3.594 kB / 0.4992 GB, free: 3.664 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/1.52, allocations: 0.7812 kB / 0.4992 GB, free: 3.664 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004721/1.525, allocations: 1.403 MB / 0.5006 GB, free: 2.711 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.525, allocations: 14.17 kB / 0.5006 GB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/1.525, allocations: 32.06 kB / 0.5007 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/1.525, allocations: 165.8 kB / 0.5008 GB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/1.525, allocations: 17.22 kB / 0.5008 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/1.525, allocations: 21.56 kB / 0.5008 GB, free: 2.527 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/1.525, allocations: 272.8 kB / 0.5011 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.525, allocations: 1.875 kB / 0.5011 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/1.525, allocations: 7.25 kB / 0.5011 GB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/1.525, allocations: 15.89 kB / 0.5011 GB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.13e-05/1.525, allocations: 84.25 kB / 0.5012 GB, free: 2.289 MB / 426.7 MB 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.01597/1.541, allocations: 9.248 MB / 0.5102 GB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/1.542, allocations: 118.5 kB / 0.5104 GB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/1.542, allocations: 24.86 kB / 0.5104 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06971/1.611, allocations: 39.09 MB / 0.5486 GB, free: 5.027 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/1.611, allocations: 38.56 kB / 0.5486 GB, free: 4.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 3.246e-06/1.611, allocations: 0 / 0.5486 GB, free: 4.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005291/1.612, allocations: 185.2 kB / 0.5488 GB, free: 4.797 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/1.612, allocations: 77.11 kB / 0.5488 GB, free: 4.703 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/1.612, allocations: 180.3 kB / 0.549 GB, free: 4.531 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/1.612, allocations: 29.7 kB / 0.549 GB, free: 4.496 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/1.613, allocations: 163.5 kB / 0.5492 GB, free: 4.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/1.613, allocations: 110.1 kB / 0.5493 GB, free: 4.238 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/1.613, allocations: 56.23 kB / 0.5494 GB, free: 4.188 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/1.613, allocations: 331.8 kB / 0.5497 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.094e-05/1.613, allocations: 26.81 kB / 0.5497 GB, free: 3.836 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/1.613, allocations: 112.3 kB / 0.5498 GB, free: 3.707 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/1.613, allocations: 137.2 kB / 0.5499 GB, free: 3.566 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.613, allocations: 0 / 0.5499 GB, free: 3.566 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000245/1.613, allocations: 163.2 kB / 0.5501 GB, free: 3.406 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.614, allocations: 8 kB / 0.5501 GB, free: 3.398 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.614, allocations: 3.938 kB / 0.5501 GB, free: 3.395 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/1.614, allocations: 95.69 kB / 0.5502 GB, free: 3.305 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/1.614, allocations: 15.98 kB / 0.5502 GB, free: 3.289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000361/1.614, allocations: 0.5656 MB / 0.5508 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.888e-05/1.614, allocations: 27.73 kB / 0.5508 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/1.614, allocations: 4 kB / 0.5508 GB, free: 2.676 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,Diaphragm.C1.a,Diaphragm.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * 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 9.779e-05/1.615, allocations: 121.8 kB / 0.5509 GB, free: 2.547 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/1.615, allocations: 19.17 kB / 0.5509 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005217/1.615, allocations: 0.5095 MB / 0.5514 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000193/1.615, allocations: 151 kB / 0.5516 GB, free: 1.883 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/1.615, allocations: 4 kB / 0.5516 GB, free: 1.879 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.615, allocations: 0.9375 kB / 0.5516 GB, free: 1.879 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/1.616, allocations: 0.4901 MB / 0.5521 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.616, allocations: 0 / 0.5521 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/1.616, allocations: 23.64 kB / 0.5521 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/1.616, allocations: 70.69 kB / 0.5521 GB, free: 1.301 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/1.616, allocations: 7.938 kB / 0.5522 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003193/1.616, allocations: 0.5804 MB / 0.5527 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.616, allocations: 0 / 0.5527 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/1.617, allocations: 310 kB / 0.553 GB, free: 388 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/1.617, allocations: 23.84 kB / 0.553 GB, free: 364 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/1.617, allocations: 15.92 kB / 0.5531 GB, free: 348 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/1.617, allocations: 4 kB / 0.5531 GB, free: 344 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/1.617, allocations: 11.97 kB / 0.5531 GB, free: 332 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/1.617, allocations: 4 kB / 0.5531 GB, free: 328 kB / 474.7 MB Notification: Performance of sorting global known variables: time 7.122e-05/1.617, allocations: 84.5 kB / 0.5532 GB, free: 252 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.617, allocations: 3.656 kB / 0.5532 GB, free: 252 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.003682/1.621, allocations: 1.24 MB / 0.5544 GB, free: 15 MB / 490.7 MB 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 (13): * Single equations (assignments): 12 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005918/1.627, allocations: 2.085 MB / 0.5564 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005004/1.627, allocations: 165.1 kB / 0.5566 GB, free: 13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/1.627, allocations: 4 kB / 0.5566 GB, free: 12.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/1.627, allocations: 68.41 kB / 0.5566 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/1.628, allocations: 119.4 kB / 0.5567 GB, free: 12.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/1.629, allocations: 497.5 kB / 0.5572 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.391e-05/1.629, allocations: 97.47 kB / 0.5573 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/1.629, allocations: 24.17 kB / 0.5573 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/1.629, allocations: 117.3 kB / 0.5574 GB, free: 12.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.954e-06/1.629, allocations: 0 / 0.5574 GB, free: 12.07 MB / 490.7 MB Notification: Performance of Templates: time 0.05648/1.686, allocations: 49.65 MB / 0.6059 GB, free: 10.71 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.609916164074093]