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.4678/0.4678, allocations: 111.6 MB / 131.2 MB, free: 4.605 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.774e-06/1.774e-06, allocations: 0 / 176.2 MB, free: 9.168 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.961e-05, allocations: 4.984 kB / 176.2 MB, free: 9.164 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 0.9969/0.9969, allocations: 257 MB / 433.2 MB, free: 400 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02639/1.023, allocations: 33.31 MB / 466.5 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/1.023, allocations: 4 kB / 466.5 MB, free: 14.96 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.0002995/1.024, allocations: 115.3 kB / 466.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/1.024, allocations: 115.1 kB / 466.8 MB, free: 14.73 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.01654/1.04, allocations: 9.857 MB / 476.6 MB, free: 4.832 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/1.041, allocations: 370.6 kB / 477 MB, free: 4.469 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/1.041, allocations: 108.8 kB / 477.1 MB, free: 4.359 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/1.041, allocations: 219.4 kB / 477.3 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/1.041, allocations: 87.72 kB / 477.4 MB, free: 4.059 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/1.041, allocations: 16 kB / 477.4 MB, free: 4.043 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1832/1.225, allocations: 16.85 MB / 494.2 MB, free: 8.617 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/1.225, allocations: 48.45 kB / 494.3 MB, free: 8.617 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/1.225, allocations: 87.39 kB / 494.4 MB, free: 8.617 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/1.235, allocations: 10.81 MB / 0.4933 GB, free: 4.988 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.235, allocations: 1.531 kB / 0.4933 GB, free: 4.988 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.235, allocations: 0 / 0.4933 GB, free: 4.988 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/1.235, allocations: 0 / 0.4933 GB, free: 4.988 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.002174/1.237, allocations: 1.521 MB / 0.4948 GB, free: 3.891 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/1.237, allocations: 15.23 kB / 0.4948 GB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/1.237, allocations: 50.02 kB / 0.4949 GB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/1.238, allocations: 175.9 kB / 0.4951 GB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/1.238, allocations: 21.84 kB / 0.4951 GB, free: 3.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/1.238, allocations: 23.56 kB / 0.4951 GB, free: 3.672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/1.238, allocations: 305.5 kB / 0.4954 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.238, allocations: 1.875 kB / 0.4954 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/1.238, allocations: 7 kB / 0.4954 GB, free: 3.414 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/1.238, allocations: 14.67 kB / 0.4954 GB, free: 3.406 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/1.238, allocations: 95.92 kB / 0.4955 GB, free: 3.387 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.0162/1.254, allocations: 11.26 MB / 0.5065 GB, free: 12.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/1.255, allocations: 106.4 kB / 0.5066 GB, free: 12.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/1.255, allocations: 31.69 kB / 0.5066 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07206/1.327, allocations: 43.78 MB / 0.5494 GB, free: 384 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.327, allocations: 41.39 kB / 0.5494 GB, free: 332 kB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/1.327, allocations: 0 / 0.5494 GB, free: 332 kB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005593/1.327, allocations: 236.7 kB / 0.5497 GB, free: 88 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/1.327, allocations: 77.11 kB / 0.5497 GB, free: 15.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/1.327, allocations: 241.7 kB / 0.55 GB, free: 15.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/1.327, allocations: 25.7 kB / 0.55 GB, free: 15.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/1.328, allocations: 211.3 kB / 0.5502 GB, free: 15.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/1.328, allocations: 122.8 kB / 0.5503 GB, free: 15.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/1.328, allocations: 59.34 kB / 0.5504 GB, free: 15.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/1.328, allocations: 0.5079 MB / 0.5509 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/1.328, allocations: 31.98 kB / 0.5509 GB, free: 14.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/1.328, allocations: 139.2 kB / 0.551 GB, free: 14.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/1.328, allocations: 174.2 kB / 0.5512 GB, free: 14.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.328, allocations: 0 / 0.5512 GB, free: 14.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002451/1.328, allocations: 227.5 kB / 0.5514 GB, free: 14.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.328, allocations: 8 kB / 0.5514 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.328, allocations: 0 / 0.5514 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004375/1.329, allocations: 99.73 kB / 0.5515 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-05/1.329, allocations: 15.98 kB / 0.5515 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000474/1.329, allocations: 0.8581 MB / 0.5524 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-05/1.329, allocations: 24.92 kB / 0.5524 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/1.33, allocations: 8.031 kB / 0.5524 GB, free: 13.14 MB / 490.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 8.964e-05/1.33, allocations: 167.7 kB / 0.5526 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/1.33, allocations: 19.86 kB / 0.5526 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005814/1.33, allocations: 0.6342 MB / 0.5532 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002346/1.33, allocations: 175.4 kB / 0.5534 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.33, allocations: 4 kB / 0.5534 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.33, allocations: 0 / 0.5534 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/1.331, allocations: 0.6251 MB / 0.554 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.331, allocations: 1.484 kB / 0.554 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/1.331, allocations: 19.98 kB / 0.554 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/1.331, allocations: 82.12 kB / 0.5541 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/1.331, allocations: 7.922 kB / 0.5541 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000306/1.332, allocations: 0.8571 MB / 0.5549 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.332, allocations: 0 / 0.5549 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/1.332, allocations: 350 kB / 0.5553 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/1.332, allocations: 27.83 kB / 0.5553 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/1.332, allocations: 15.98 kB / 0.5553 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.363e-05/1.332, allocations: 0 / 0.5553 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/1.332, allocations: 20.45 kB / 0.5553 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/1.332, allocations: 4 kB / 0.5553 GB, free: 9.961 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001199/1.332, allocations: 225.1 kB / 0.5555 GB, free: 9.742 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/1.332, allocations: 0 / 0.5555 GB, free: 9.742 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002069/1.334, allocations: 1.243 MB / 0.5567 GB, free: 8.496 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.003109/1.337, allocations: 1.945 MB / 0.5586 GB, free: 6.789 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003521/1.338, allocations: 197.6 kB / 0.5588 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.338, allocations: 4 kB / 0.5588 GB, free: 6.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/1.338, allocations: 88.45 kB / 0.5589 GB, free: 6.504 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/1.338, allocations: 118.9 kB / 0.559 GB, free: 6.398 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008343/1.339, allocations: 499 kB / 0.5595 GB, free: 5.891 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.076e-05/1.339, allocations: 93.48 kB / 0.5596 GB, free: 5.785 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.699e-05/1.339, allocations: 23.05 kB / 0.5596 GB, free: 5.766 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/1.339, allocations: 20.5 kB / 0.5596 GB, free: 5.742 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.339, allocations: 0 / 0.5596 GB, free: 5.742 MB / 490.7 MB Notification: Performance of Templates: time 0.0445/1.384, allocations: 53.59 MB / 0.612 GB, free: 448 kB / 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.709552161861211]