Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.5016/0.5016, allocations: 111.6 MB / 131.5 MB, free: 4.918 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.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 176.6 MB, free: 8.906 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.247e-05, allocations: 2.312 kB / 176.6 MB, free: 8.902 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.SimpleExamples.TestDiaphragm): time 1.006/1.006, allocations: 262.8 MB / 439.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02703/1.033, allocations: 33.21 MB / 472.7 MB, free: 13.76 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/1.033, allocations: 0 / 472.7 MB, free: 13.76 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.0002702/1.034, allocations: 107.3 kB / 472.8 MB, free: 13.66 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/1.034, allocations: 123.2 kB / 472.9 MB, free: 13.54 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.01604/1.05, allocations: 9.947 MB / 482.8 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/1.05, allocations: 358.8 kB / 483.2 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/1.05, allocations: 114.7 kB / 483.3 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/1.05, allocations: 223.3 kB / 483.5 MB, free: 2.859 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/1.051, allocations: 79.8 kB / 483.6 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/1.051, allocations: 20 kB / 483.6 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1754/1.226, allocations: 16.85 MB / 0.4887 GB, free: 8.199 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/1.226, allocations: 51.31 kB / 0.4888 GB, free: 8.199 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/1.226, allocations: 84.28 kB / 0.4889 GB, free: 8.199 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/1.238, allocations: 10.8 MB / 0.4994 GB, free: 3.688 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.238, allocations: 3.75 kB / 0.4994 GB, free: 3.688 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/1.238, allocations: 0.625 kB / 0.4994 GB, free: 3.688 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/1.238, allocations: 3.938 kB / 0.4994 GB, free: 3.684 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.002657/1.241, allocations: 1.396 MB / 0.5008 GB, free: 2.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/1.241, allocations: 12.55 kB / 0.5008 GB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/1.241, allocations: 33.22 kB / 0.5008 GB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/1.241, allocations: 163.8 kB / 0.501 GB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/1.241, allocations: 17.38 kB / 0.501 GB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/1.241, allocations: 19.75 kB / 0.501 GB, free: 2.555 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/1.241, allocations: 280.2 kB / 0.5013 GB, free: 2.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.241, allocations: 1.875 kB / 0.5013 GB, free: 2.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/1.241, allocations: 11.94 kB / 0.5013 GB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/1.241, allocations: 12.16 kB / 0.5013 GB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.351e-05/1.241, allocations: 76.39 kB / 0.5014 GB, free: 2.316 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.01318/1.255, allocations: 9.25 MB / 0.5104 GB, free: 12.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/1.255, allocations: 122.5 kB / 0.5105 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/1.255, allocations: 20.86 kB / 0.5106 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06327/1.318, allocations: 39.09 MB / 0.5487 GB, free: 4.926 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/1.318, allocations: 31.73 kB / 0.5488 GB, free: 4.887 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/1.318, allocations: 0 / 0.5488 GB, free: 4.887 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004102/1.319, allocations: 193.7 kB / 0.5489 GB, free: 4.695 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002576/1.319, allocations: 77.11 kB / 0.549 GB, free: 4.602 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.319, allocations: 175.2 kB / 0.5492 GB, free: 4.434 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/1.319, allocations: 25.7 kB / 0.5492 GB, free: 4.402 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/1.319, allocations: 163.5 kB / 0.5494 GB, free: 4.246 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/1.319, allocations: 109.6 kB / 0.5495 GB, free: 4.145 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/1.319, allocations: 49.66 kB / 0.5495 GB, free: 4.098 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.749e-05/1.319, allocations: 342.5 kB / 0.5498 GB, free: 3.766 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.572e-05/1.319, allocations: 26.83 kB / 0.5499 GB, free: 3.738 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/1.319, allocations: 111.5 kB / 0.55 GB, free: 3.613 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/1.319, allocations: 137.8 kB / 0.5501 GB, free: 3.473 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.319, allocations: 0 / 0.5501 GB, free: 3.473 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001642/1.32, allocations: 167.2 kB / 0.5503 GB, free: 3.309 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.32, allocations: 8 kB / 0.5503 GB, free: 3.301 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/1.32, allocations: 4.156 kB / 0.5503 GB, free: 3.297 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003502/1.32, allocations: 88.11 kB / 0.5504 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/1.32, allocations: 18.98 kB / 0.5504 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002657/1.32, allocations: 0.5625 MB / 0.5509 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/1.32, allocations: 31.77 kB / 0.551 GB, free: 2.582 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/1.32, allocations: 8 kB / 0.551 GB, free: 2.574 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 6.861e-05/1.32, allocations: 120.8 kB / 0.5511 GB, free: 2.449 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/1.32, allocations: 7.984 kB / 0.5511 GB, free: 2.441 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/1.321, allocations: 0.5186 MB / 0.5516 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001745/1.321, allocations: 155.2 kB / 0.5517 GB, free: 1.785 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.321, allocations: 0.9375 kB / 0.5517 GB, free: 1.785 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.321, allocations: 0 / 0.5517 GB, free: 1.785 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/1.321, allocations: 0.4941 MB / 0.5522 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.321, allocations: 0 / 0.5522 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/1.321, allocations: 15.98 kB / 0.5522 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/1.322, allocations: 79.53 kB / 0.5523 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/1.322, allocations: 8 kB / 0.5523 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002207/1.322, allocations: 0.5795 MB / 0.5529 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.322, allocations: 0 / 0.5529 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/1.322, allocations: 304.6 kB / 0.5532 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/1.322, allocations: 23.84 kB / 0.5532 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/1.322, allocations: 11.89 kB / 0.5532 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/1.322, allocations: 4 kB / 0.5532 GB, free: 252 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/1.322, allocations: 16.48 kB / 0.5532 GB, free: 236 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/1.322, allocations: 0.5625 kB / 0.5532 GB, free: 236 kB / 474.7 MB Notification: Performance of sorting global known variables: time 5.929e-05/1.322, allocations: 87.95 kB / 0.5533 GB, free: 156 kB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-08/1.322, allocations: 0 / 0.5533 GB, free: 156 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.002114/1.324, allocations: 1.232 MB / 0.5545 GB, free: 14.92 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.003282/1.328, allocations: 2.089 MB / 0.5566 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/1.328, allocations: 164.9 kB / 0.5567 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.328, allocations: 4 kB / 0.5567 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/1.328, allocations: 77.22 kB / 0.5568 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/1.328, allocations: 122 kB / 0.5569 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/1.329, allocations: 0.4885 MB / 0.5574 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/1.329, allocations: 89.48 kB / 0.5575 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.406e-05/1.329, allocations: 24.31 kB / 0.5575 GB, free: 12.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/1.329, allocations: 113.3 kB / 0.5576 GB, free: 11.98 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/1.329, allocations: 0 / 0.5576 GB, free: 11.98 MB / 490.7 MB Notification: Performance of Templates: time 0.04353/1.373, allocations: 49.64 MB / 0.6061 GB, free: 10.63 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.83486037934199]