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.4787/0.4787, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.293e-06/1.293e-06, allocations: 0 / 176.2 MB, free: 9.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.558e-05, allocations: 2.312 kB / 176.2 MB, free: 9.148 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.011/1.011, allocations: 257 MB / 433.2 MB, free: 396 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02704/1.038, allocations: 33.3 MB / 466.5 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/1.038, 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.0002987/1.038, allocations: 107.3 kB / 466.6 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/1.038, allocations: 119.1 kB / 466.7 MB, free: 14.74 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.01631/1.055, allocations: 9.865 MB / 476.6 MB, free: 4.828 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/1.055, allocations: 366.8 kB / 477 MB, free: 4.469 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/1.055, allocations: 108.7 kB / 477.1 MB, free: 4.359 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/1.055, allocations: 223.4 kB / 477.3 MB, free: 4.141 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/1.056, allocations: 79.73 kB / 477.4 MB, free: 4.062 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/1.056, allocations: 16 kB / 477.4 MB, free: 4.047 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1843/1.24, allocations: 16.85 MB / 494.2 MB, free: 8.551 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/1.24, allocations: 45.27 kB / 494.3 MB, free: 8.551 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/1.24, allocations: 92.42 kB / 494.4 MB, free: 8.551 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/1.252, allocations: 10.81 MB / 0.4933 GB, free: 4.941 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.252, allocations: 0 / 0.4933 GB, free: 4.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.252, allocations: 3.5 kB / 0.4933 GB, free: 4.941 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/1.252, allocations: 0 / 0.4933 GB, free: 4.941 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.002093/1.254, allocations: 1.519 MB / 0.4948 GB, free: 3.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/1.254, allocations: 11.05 kB / 0.4948 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/1.254, allocations: 51.64 kB / 0.4949 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/1.254, allocations: 178.6 kB / 0.4951 GB, free: 3.641 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/1.254, allocations: 14.69 kB / 0.4951 GB, free: 3.637 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/1.254, allocations: 24.97 kB / 0.4951 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/1.254, allocations: 305.6 kB / 0.4954 GB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.254, allocations: 3.219 kB / 0.4954 GB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/1.254, allocations: 7.094 kB / 0.4954 GB, free: 3.371 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/1.254, allocations: 17.33 kB / 0.4954 GB, free: 3.363 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/1.254, allocations: 91.45 kB / 0.4955 GB, free: 3.344 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.01673/1.271, allocations: 11.27 MB / 0.5065 GB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/1.271, allocations: 91.09 kB / 0.5066 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/1.271, allocations: 40.33 kB / 0.5066 GB, free: 12.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07499/1.346, allocations: 43.78 MB / 0.5494 GB, free: 364 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/1.346, allocations: 39.42 kB / 0.5494 GB, free: 316 kB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/1.346, allocations: 0 / 0.5494 GB, free: 316 kB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005636/1.347, allocations: 237.1 kB / 0.5497 GB, free: 72 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.347, allocations: 85.11 kB / 0.5497 GB, free: 15.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/1.347, allocations: 229.8 kB / 0.55 GB, free: 15.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/1.347, allocations: 29.64 kB / 0.55 GB, free: 15.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/1.347, allocations: 216.9 kB / 0.5502 GB, free: 15.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/1.347, allocations: 112.5 kB / 0.5503 GB, free: 15.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/1.347, allocations: 59.36 kB / 0.5504 GB, free: 15.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/1.347, allocations: 0.5078 MB / 0.5508 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/1.348, allocations: 31.98 kB / 0.5509 GB, free: 14.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/1.348, allocations: 141.3 kB / 0.551 GB, free: 14.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/1.348, allocations: 173.9 kB / 0.5512 GB, free: 14.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.348, allocations: 0 / 0.5512 GB, free: 14.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002548/1.348, allocations: 228 kB / 0.5514 GB, free: 14.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.348, allocations: 4 kB / 0.5514 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.348, allocations: 0.7969 kB / 0.5514 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004717/1.349, allocations: 119.1 kB / 0.5515 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/1.349, allocations: 15.98 kB / 0.5515 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003826/1.349, allocations: 0.8575 MB / 0.5524 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/1.349, allocations: 31.81 kB / 0.5524 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/1.349, allocations: 4 kB / 0.5524 GB, free: 13.11 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.701e-05/1.349, allocations: 172.1 kB / 0.5526 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/1.349, allocations: 23.84 kB / 0.5526 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007895/1.35, allocations: 0.6287 MB / 0.5532 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002399/1.35, allocations: 180 kB / 0.5534 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/1.35, allocations: 3.984 kB / 0.5534 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/1.35, allocations: 0 / 0.5534 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/1.351, allocations: 0.6155 MB / 0.554 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.351, allocations: 3.984 kB / 0.554 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/1.351, allocations: 19.66 kB / 0.554 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/1.351, allocations: 95.56 kB / 0.5541 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/1.351, allocations: 3.938 kB / 0.5541 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003095/1.351, allocations: 0.8529 MB / 0.5549 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.351, allocations: 3.844 kB / 0.5549 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/1.352, allocations: 350 kB / 0.5553 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/1.352, allocations: 31.86 kB / 0.5553 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/1.352, allocations: 11.95 kB / 0.5553 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.81e-05/1.352, allocations: 3.984 kB / 0.5553 GB, free: 9.934 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/1.352, allocations: 13.44 kB / 0.5553 GB, free: 9.922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/1.352, allocations: 4.562 kB / 0.5553 GB, free: 9.918 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001288/1.352, allocations: 229.1 kB / 0.5555 GB, free: 9.695 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.352, allocations: 0 / 0.5555 GB, free: 9.695 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002068/1.354, allocations: 1.235 MB / 0.5568 GB, free: 8.457 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.003197/1.357, allocations: 1.954 MB / 0.5587 GB, free: 6.746 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003653/1.358, allocations: 191.2 kB / 0.5588 GB, free: 6.555 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.358, allocations: 4 kB / 0.5588 GB, free: 6.551 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/1.358, allocations: 91.98 kB / 0.5589 GB, free: 6.461 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/1.358, allocations: 118.8 kB / 0.559 GB, free: 6.355 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008898/1.359, allocations: 497 kB / 0.5595 GB, free: 5.848 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.25e-05/1.359, allocations: 101.5 kB / 0.5596 GB, free: 5.734 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.119e-05/1.359, allocations: 16.28 kB / 0.5596 GB, free: 5.723 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/1.359, allocations: 28.48 kB / 0.5597 GB, free: 5.691 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/1.359, allocations: 7.469 kB / 0.5597 GB, free: 5.688 MB / 490.7 MB Notification: Performance of Templates: time 0.03883/1.398, allocations: 43.49 MB / 0.6021 GB, free: 10.5 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.216364769265056]