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.8192/0.8192, allocations: 111.6 MB / 131 MB, free: 5.094 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.804e-06/1.804e-06, allocations: 0 / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.628e-05, allocations: 6.312 kB / 175.7 MB, free: 9.445 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.822/1.822, allocations: 254.7 MB / 430.4 MB, free: 468 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05088/1.873, allocations: 33.16 MB / 463.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/1.874, allocations: 0 / 463.6 MB, free: 15.18 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.0003723/1.874, allocations: 107.4 kB / 463.7 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/1.874, allocations: 119 kB / 463.8 MB, free: 14.96 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.02563/1.9, allocations: 9.853 MB / 473.7 MB, free: 5.066 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/1.9, allocations: 374.7 kB / 474 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/1.901, allocations: 108.6 kB / 474.1 MB, free: 4.594 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/1.901, allocations: 227.4 kB / 474.4 MB, free: 4.371 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/1.901, allocations: 79.72 kB / 474.4 MB, free: 4.293 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/1.901, allocations: 20 kB / 474.5 MB, free: 4.273 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03264/1.934, allocations: 16.85 MB / 491.3 MB, free: 3.395 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/1.934, allocations: 47.78 kB / 491.3 MB, free: 3.348 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003967/1.934, allocations: 95.69 kB / 491.4 MB, free: 3.254 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1973/2.132, allocations: 10.87 MB / 0.4905 GB, free: 19.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/2.132, allocations: 0 / 0.4905 GB, free: 19.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.683e-06/2.132, allocations: 1.625 kB / 0.4905 GB, free: 19.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/2.132, allocations: 0 / 0.4905 GB, free: 19.84 MB / 442.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.005092/2.137, allocations: 1.541 MB / 0.492 GB, free: 18.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/2.137, allocations: 13.23 kB / 0.4921 GB, free: 18.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/2.137, allocations: 50.73 kB / 0.4921 GB, free: 18.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/2.137, allocations: 175.4 kB / 0.4923 GB, free: 18.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/2.137, allocations: 16.16 kB / 0.4923 GB, free: 18.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/2.137, allocations: 21.25 kB / 0.4923 GB, free: 18.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/2.137, allocations: 339.3 kB / 0.4926 GB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/2.137, allocations: 3.188 kB / 0.4926 GB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/2.137, allocations: 12.44 kB / 0.4927 GB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/2.137, allocations: 12.7 kB / 0.4927 GB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/2.138, allocations: 131.3 kB / 0.4928 GB, free: 18.56 MB / 442.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.03473/2.172, allocations: 11.34 MB / 0.5039 GB, free: 16.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/2.173, allocations: 109.8 kB / 0.504 GB, free: 16.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/2.173, allocations: 51 kB / 0.504 GB, free: 16.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1535/2.326, allocations: 43.77 MB / 0.5468 GB, free: 14.51 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/2.326, allocations: 40.02 kB / 0.5468 GB, free: 14.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.615e-06/2.326, allocations: 0.9375 kB / 0.5468 GB, free: 14.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008987/2.327, allocations: 275.6 kB / 0.5471 GB, free: 14.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/2.327, allocations: 77.11 kB / 0.5471 GB, free: 14.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/2.328, allocations: 261 kB / 0.5474 GB, free: 13.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/2.328, allocations: 25.7 kB / 0.5474 GB, free: 13.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/2.328, allocations: 224 kB / 0.5476 GB, free: 13.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/2.328, allocations: 119.5 kB / 0.5477 GB, free: 13.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/2.328, allocations: 69.92 kB / 0.5478 GB, free: 13.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004651/2.329, allocations: 0.5188 MB / 0.5483 GB, free: 12.99 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/2.329, allocations: 46.86 kB / 0.5484 GB, free: 12.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/2.329, allocations: 164.8 kB / 0.5485 GB, free: 12.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/2.329, allocations: 204 kB / 0.5487 GB, free: 12.61 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/2.329, allocations: 4 kB / 0.5487 GB, free: 12.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004856/2.33, allocations: 267.2 kB / 0.549 GB, free: 12.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/2.33, allocations: 4 kB / 0.549 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/2.33, allocations: 0 / 0.549 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009094/2.331, allocations: 123.9 kB / 0.5491 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/2.331, allocations: 12.16 kB / 0.5491 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008205/2.332, allocations: 0.8955 MB / 0.55 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/2.332, allocations: 32.33 kB / 0.55 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/2.332, allocations: 4 kB / 0.55 GB, free: 11.34 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 (Diaphragm.C2.b,Diaphragm.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 (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 0.0001714/2.332, allocations: 181.5 kB / 0.5502 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/2.332, allocations: 19.86 kB / 0.5502 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/2.333, allocations: 0.7298 MB / 0.5509 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005672/2.334, allocations: 198.9 kB / 0.5511 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/2.334, allocations: 3.562 kB / 0.5511 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/2.334, allocations: 0 / 0.5511 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/2.335, allocations: 0.6945 MB / 0.5518 GB, free: 9.723 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/2.335, allocations: 4.812 kB / 0.5518 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/2.335, allocations: 19.98 kB / 0.5518 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003104/2.335, allocations: 88.72 kB / 0.5519 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/2.335, allocations: 6.125 kB / 0.5519 GB, free: 9.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007313/2.336, allocations: 0.8771 MB / 0.5528 GB, free: 8.734 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/2.336, allocations: 0.5625 kB / 0.5528 GB, free: 8.734 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/2.337, allocations: 373.5 kB / 0.5531 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/2.337, allocations: 27.58 kB / 0.5531 GB, free: 8.359 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/2.337, allocations: 13.7 kB / 0.5531 GB, free: 8.348 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/2.337, allocations: 5.297 kB / 0.5532 GB, free: 8.348 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/2.337, allocations: 14.94 kB / 0.5532 GB, free: 8.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/2.337, allocations: 7.984 kB / 0.5532 GB, free: 8.332 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00026/2.337, allocations: 259.1 kB / 0.5534 GB, free: 8.117 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/2.337, allocations: 0 / 0.5534 GB, free: 8.117 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004414/2.342, allocations: 1.239 MB / 0.5546 GB, free: 6.957 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.005956/2.348, allocations: 1.937 MB / 0.5565 GB, free: 5.305 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006437/2.348, allocations: 220.5 kB / 0.5567 GB, free: 5.121 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/2.348, allocations: 4.312 kB / 0.5567 GB, free: 5.117 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/2.349, allocations: 93.97 kB / 0.5568 GB, free: 5.035 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/2.349, allocations: 123 kB / 0.5569 GB, free: 4.938 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/2.35, allocations: 0.4945 MB / 0.5574 GB, free: 4.461 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/2.35, allocations: 163.3 kB / 0.5576 GB, free: 4.285 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.929e-05/2.351, allocations: 23.33 kB / 0.5576 GB, free: 4.266 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/2.351, allocations: 20.5 kB / 0.5576 GB, free: 4.246 MB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/2.351, allocations: 0 / 0.5576 GB, free: 4.246 MB / 474.7 MB Notification: Performance of Templates: time 0.06929/2.42, allocations: 43.51 MB / 0.6001 GB, free: 9.055 MB / 0.5105 GB " [Timeout remaining time 657] 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: 8.492214582045563]