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.5205/0.5205, allocations: 111.6 MB / 132.2 MB, free: 4.43 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.583e-06/1.583e-06, allocations: 0 / 177.3 MB, free: 8.922 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.492e-05, allocations: 2.312 kB / 177.3 MB, free: 8.918 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.054/1.054, allocations: 257.1 MB / 434.4 MB, free: 236 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02822/1.082, allocations: 32.69 MB / 467.1 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/1.082, allocations: 4 kB / 467.1 MB, free: 15.42 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.0003063/1.083, allocations: 107.3 kB / 467.2 MB, free: 15.31 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/1.083, allocations: 115.2 kB / 467.3 MB, free: 15.2 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.01836/1.101, allocations: 9.865 MB / 477.1 MB, free: 5.289 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004731/1.102, allocations: 362.7 kB / 477.5 MB, free: 4.934 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/1.102, allocations: 108.8 kB / 477.6 MB, free: 4.824 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/1.102, allocations: 239.2 kB / 477.8 MB, free: 4.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/1.102, allocations: 79.8 kB / 477.9 MB, free: 4.512 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/1.102, allocations: 16 kB / 477.9 MB, free: 4.496 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1962/1.298, allocations: 16.84 MB / 494.8 MB, free: 8.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/1.298, allocations: 54.22 kB / 494.8 MB, free: 8.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/1.299, allocations: 81.73 kB / 494.9 MB, free: 8.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01652/1.315, allocations: 10.8 MB / 0.4938 GB, free: 5.703 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.315, allocations: 6.828 kB / 0.4939 GB, free: 5.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.322e-06/1.315, allocations: 3.938 kB / 0.4939 GB, free: 5.695 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/1.315, allocations: 0 / 0.4939 GB, free: 5.695 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.003133/1.318, allocations: 1.524 MB / 0.4953 GB, free: 4.613 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/1.318, allocations: 12.83 kB / 0.4954 GB, free: 4.609 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/1.318, allocations: 47.64 kB / 0.4954 GB, free: 4.586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/1.318, allocations: 185.3 kB / 0.4956 GB, free: 4.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/1.318, allocations: 13.5 kB / 0.4956 GB, free: 4.406 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/1.318, allocations: 22.94 kB / 0.4956 GB, free: 4.398 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/1.319, allocations: 295.4 kB / 0.4959 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.319, allocations: 2.031 kB / 0.4959 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/1.319, allocations: 11.98 kB / 0.4959 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/1.319, allocations: 7.969 kB / 0.4959 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/1.319, allocations: 84.09 kB / 0.496 GB, free: 4.129 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.01551/1.334, allocations: 9.794 MB / 0.5056 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/1.335, allocations: 86.73 kB / 0.5056 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/1.335, allocations: 27.69 kB / 0.5057 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06949/1.404, allocations: 37.91 MB / 0.5427 GB, free: 8.156 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/1.404, allocations: 37.23 kB / 0.5427 GB, free: 8.113 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.325e-06/1.404, allocations: 0 / 0.5427 GB, free: 8.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005071/1.405, allocations: 217.4 kB / 0.5429 GB, free: 7.891 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/1.405, allocations: 80.16 kB / 0.543 GB, free: 7.797 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/1.405, allocations: 229 kB / 0.5432 GB, free: 7.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/1.405, allocations: 29.17 kB / 0.5433 GB, free: 7.539 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/1.405, allocations: 208.8 kB / 0.5435 GB, free: 7.336 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/1.405, allocations: 124.7 kB / 0.5436 GB, free: 7.223 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/1.405, allocations: 62.61 kB / 0.5436 GB, free: 7.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/1.405, allocations: 0.508 MB / 0.5441 GB, free: 6.652 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/1.405, allocations: 23.98 kB / 0.5442 GB, free: 6.629 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.528e-05/1.405, allocations: 142.4 kB / 0.5443 GB, free: 6.461 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/1.405, allocations: 152.6 kB / 0.5444 GB, free: 6.297 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.405, allocations: 3.984 kB / 0.5444 GB, free: 6.293 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003348/1.406, allocations: 210.5 kB / 0.5446 GB, free: 6.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.406, allocations: 4 kB / 0.5447 GB, free: 6.086 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.406, allocations: 4.938 kB / 0.5447 GB, free: 6.082 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/1.406, allocations: 91.48 kB / 0.5447 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/1.406, allocations: 18.98 kB / 0.5448 GB, free: 5.977 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003788/1.407, allocations: 0.8545 MB / 0.5456 GB, free: 5.098 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/1.407, allocations: 27.78 kB / 0.5456 GB, free: 5.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/1.407, allocations: 4 kB / 0.5456 GB, free: 5.066 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.118e-05/1.407, allocations: 164.6 kB / 0.5458 GB, free: 4.895 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/1.407, allocations: 24.89 kB / 0.5458 GB, free: 4.871 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/1.407, allocations: 0.6327 MB / 0.5464 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002069/1.408, allocations: 163 kB / 0.5466 GB, free: 4.066 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/1.408, allocations: 0.75 kB / 0.5466 GB, free: 4.066 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/1.408, allocations: 0 / 0.5466 GB, free: 4.066 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/1.408, allocations: 0.5711 MB / 0.5471 GB, free: 3.492 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.408, allocations: 4 kB / 0.5471 GB, free: 3.488 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/1.408, allocations: 12 kB / 0.5472 GB, free: 3.477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/1.408, allocations: 84.66 kB / 0.5472 GB, free: 3.395 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/1.408, allocations: 4 kB / 0.5472 GB, free: 3.391 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003836/1.409, allocations: 0.851 MB / 0.5481 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.409, allocations: 0 / 0.5481 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/1.409, allocations: 344.6 kB / 0.5484 GB, free: 2.168 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/1.409, allocations: 27.83 kB / 0.5484 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/1.409, allocations: 7.891 kB / 0.5484 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/1.409, allocations: 8.516 kB / 0.5484 GB, free: 2.125 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/1.409, allocations: 7.984 kB / 0.5484 GB, free: 2.117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/1.409, allocations: 4.672 kB / 0.5485 GB, free: 2.113 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.848e-05/1.409, allocations: 208.5 kB / 0.5487 GB, free: 1.918 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.409, allocations: 0 / 0.5487 GB, free: 1.918 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002648/1.412, allocations: 1.243 MB / 0.5499 GB, free: 0.6719 MB / 474.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.003977/1.416, allocations: 2.036 MB / 0.5519 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003715/1.416, allocations: 187 kB / 0.552 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.416, allocations: 0 / 0.552 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/1.416, allocations: 70.84 kB / 0.5521 GB, free: 14.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/1.417, allocations: 130.9 kB / 0.5522 GB, free: 14.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/1.418, allocations: 497.9 kB / 0.5527 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.617e-05/1.418, allocations: 97.42 kB / 0.5528 GB, free: 13.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.848e-05/1.418, allocations: 19.61 kB / 0.5528 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/1.418, allocations: 146.1 kB / 0.5529 GB, free: 13.74 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/1.418, allocations: 0 / 0.5529 GB, free: 13.74 MB / 490.7 MB Notification: Performance of Templates: time 0.04969/1.468, allocations: 50.42 MB / 0.6022 GB, free: 11.63 MB / 0.5261 GB " [Timeout remaining time 658] 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: 5.689793756697327]