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.4842/0.4842, allocations: 111.6 MB / 131.4 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.462e-06/1.462e-06, allocations: 0 / 176.5 MB, free: 8.93 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.192e-05, allocations: 5.125 kB / 176.5 MB, free: 8.926 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.009/1.009, allocations: 257.1 MB / 433.6 MB, free: 252 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02712/1.037, allocations: 32.7 MB / 466.3 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/1.037, allocations: 0 / 466.3 MB, free: 15.43 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.0003136/1.037, allocations: 107.3 kB / 466.4 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/1.037, allocations: 115.2 kB / 466.5 MB, free: 15.21 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.01788/1.055, allocations: 9.865 MB / 476.4 MB, free: 5.297 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004807/1.056, allocations: 370.7 kB / 476.7 MB, free: 4.934 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/1.056, allocations: 96.77 kB / 476.8 MB, free: 4.836 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/1.056, allocations: 235.2 kB / 477.1 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/1.056, allocations: 79.8 kB / 477.1 MB, free: 4.527 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/1.056, allocations: 20 kB / 477.2 MB, free: 4.508 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2073/1.264, allocations: 16.85 MB / 494 MB, free: 8.844 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/1.264, allocations: 46.12 kB / 494 MB, free: 8.844 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/1.264, allocations: 91.81 kB / 494.1 MB, free: 8.844 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01809/1.282, allocations: 10.8 MB / 0.4931 GB, free: 5.594 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.282, allocations: 0 / 0.4931 GB, free: 5.594 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/1.282, allocations: 0.6562 kB / 0.4931 GB, free: 5.594 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/1.282, allocations: 1.938 kB / 0.4931 GB, free: 5.594 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.003614/1.286, allocations: 1.534 MB / 0.4946 GB, free: 4.508 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/1.286, allocations: 13.3 kB / 0.4946 GB, free: 4.504 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/1.286, allocations: 48.75 kB / 0.4947 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/1.286, allocations: 175.5 kB / 0.4948 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/1.286, allocations: 13.44 kB / 0.4948 GB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/1.286, allocations: 23.94 kB / 0.4949 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/1.286, allocations: 298.8 kB / 0.4951 GB, free: 4.051 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.286, allocations: 4.969 kB / 0.4952 GB, free: 4.051 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/1.286, allocations: 7.859 kB / 0.4952 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.286, allocations: 10.78 kB / 0.4952 GB, free: 4.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/1.286, allocations: 84.69 kB / 0.4952 GB, free: 4.02 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.01484/1.301, allocations: 9.817 MB / 0.5048 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/1.301, allocations: 93.31 kB / 0.5049 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/1.301, allocations: 23.69 kB / 0.5049 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06323/1.365, allocations: 38.18 MB / 0.5422 GB, free: 7.914 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/1.365, allocations: 41.39 kB / 0.5423 GB, free: 7.863 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.255e-06/1.365, allocations: 0 / 0.5423 GB, free: 7.863 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.000539/1.365, allocations: 227.7 kB / 0.5425 GB, free: 7.637 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/1.365, allocations: 81.11 kB / 0.5426 GB, free: 7.539 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/1.365, allocations: 235.8 kB / 0.5428 GB, free: 7.309 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/1.365, allocations: 25.7 kB / 0.5428 GB, free: 7.277 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/1.365, allocations: 209.5 kB / 0.543 GB, free: 7.074 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/1.365, allocations: 117.9 kB / 0.5431 GB, free: 6.965 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/1.366, allocations: 65.42 kB / 0.5432 GB, free: 6.902 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/1.366, allocations: 0.5095 MB / 0.5437 GB, free: 6.391 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/1.366, allocations: 27.98 kB / 0.5437 GB, free: 6.363 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/1.366, allocations: 140.5 kB / 0.5439 GB, free: 6.203 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/1.366, allocations: 148.2 kB / 0.544 GB, free: 6.043 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.366, allocations: 7.172 kB / 0.544 GB, free: 6.039 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002179/1.366, allocations: 211.3 kB / 0.5442 GB, free: 5.832 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.366, allocations: 8 kB / 0.5442 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.366, allocations: 0 / 0.5442 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/1.366, allocations: 95.61 kB / 0.5443 GB, free: 5.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.505e-05/1.367, allocations: 19.55 kB / 0.5443 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003531/1.367, allocations: 0.8534 MB / 0.5452 GB, free: 4.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/1.367, allocations: 23.84 kB / 0.5452 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/1.367, allocations: 4 kB / 0.5452 GB, free: 4.812 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 8.824e-05/1.367, allocations: 164.5 kB / 0.5453 GB, free: 4.641 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/1.367, allocations: 19.86 kB / 0.5454 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005465/1.368, allocations: 0.649 MB / 0.546 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002012/1.368, allocations: 165 kB / 0.5461 GB, free: 3.797 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.368, allocations: 4 kB / 0.5462 GB, free: 3.793 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/1.368, allocations: 3.938 kB / 0.5462 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/1.368, allocations: 0.5767 MB / 0.5467 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.368, allocations: 0.8125 kB / 0.5467 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/1.368, allocations: 16 kB / 0.5467 GB, free: 3.191 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001572/1.369, allocations: 77.61 kB / 0.5468 GB, free: 3.113 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/1.369, allocations: 4 kB / 0.5468 GB, free: 3.109 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003047/1.369, allocations: 0.8555 MB / 0.5476 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.369, allocations: 4.031 kB / 0.5477 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/1.369, allocations: 354.2 kB / 0.548 GB, free: 1.875 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/1.369, allocations: 27.83 kB / 0.548 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/1.369, allocations: 11.95 kB / 0.548 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.241e-05/1.369, allocations: 0 / 0.548 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/1.369, allocations: 11.98 kB / 0.548 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/1.369, allocations: 3.984 kB / 0.548 GB, free: 1.82 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00035/1.37, allocations: 209.2 kB / 0.5482 GB, free: 1.625 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.37, allocations: 0 / 0.5482 GB, free: 1.625 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002571/1.372, allocations: 1.247 MB / 0.5495 GB, free: 384 kB / 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.00374/1.376, allocations: 2.035 MB / 0.5514 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003108/1.376, allocations: 187.7 kB / 0.5516 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.376, allocations: 0 / 0.5516 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/1.376, allocations: 75.56 kB / 0.5517 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/1.377, allocations: 126 kB / 0.5518 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/1.378, allocations: 491.2 kB / 0.5523 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/1.378, allocations: 93.48 kB / 0.5524 GB, free: 13.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.232e-05/1.378, allocations: 20.97 kB / 0.5524 GB, free: 13.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/1.378, allocations: 146.1 kB / 0.5525 GB, free: 13.44 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/1.378, allocations: 0 / 0.5525 GB, free: 13.44 MB / 490.7 MB Notification: Performance of Templates: time 0.05139/1.429, allocations: 50.36 MB / 0.6017 GB, free: 11.31 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.232724961359054]