Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.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.8426/0.8426, allocations: 153.8 MB / 172.7 MB, free: 4.863 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005592/0.0005592, allocations: 11.98 kB / 250.3 MB, free: 3.891 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.155, allocations: 33.36 MB / 283.7 MB, free: 2.062 MB / 222.1 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.Fluid.Examples.SimpleExamples.TestDynamicCheckValve): time 1.82/1.975, allocations: 307.8 MB / 0.5776 GB, free: 17.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1976/2.173, allocations: 165.1 MB / 0.7389 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003798/2.173, allocations: 9.719 kB / 0.7389 GB, free: 15.66 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/DynamicCheckValve.mo:56:3-57:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/DynamicCheckValve.mo:58:3-59:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000265/2.173, allocations: 63.44 kB / 0.739 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005025/2.174, allocations: 158.6 kB / 0.7391 GB, free: 15.45 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.0306/2.205, allocations: 11.64 MB / 0.7505 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008134/2.205, allocations: 498.8 kB / 0.751 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/2.206, allocations: 213.2 kB / 0.7512 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004075/2.206, allocations: 223.1 kB / 0.7514 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/2.207, allocations: 207 kB / 0.7516 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/2.207, allocations: 40 kB / 0.7516 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03509/2.242, allocations: 18.61 MB / 0.7698 GB, free: 4 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002116/2.242, allocations: 111.7 kB / 0.7699 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000264/2.242, allocations: 191 kB / 0.7701 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02075/2.263, allocations: 9.891 MB / 0.7797 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/2.263, allocations: 4 kB / 0.7797 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/2.263, allocations: 0 / 0.7797 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.697e-05/2.263, allocations: 0 / 0.7797 GB, free: 5.785 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.004744/2.268, allocations: 1.924 MB / 0.7816 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/2.268, allocations: 8.031 kB / 0.7816 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/2.268, allocations: 71.61 kB / 0.7817 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/2.268, allocations: 300.8 kB / 0.782 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.081e-05/2.269, allocations: 80.41 kB / 0.7821 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/2.269, allocations: 36 kB / 0.7821 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/2.269, allocations: 412.8 kB / 0.7825 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/2.269, allocations: 0 / 0.7825 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/2.269, allocations: 17.59 kB / 0.7825 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/2.269, allocations: 12 kB / 0.7825 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/2.27, allocations: 283.1 kB / 0.7828 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/2.272, allocations: 1.217 MB / 0.784 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/2.272, allocations: 211.3 kB / 0.7842 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/2.273, allocations: 73.64 kB / 0.7842 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4028/2.675, allocations: 69.09 MB / 0.8517 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/2.676, allocations: 144.4 kB / 0.8518 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=21): time 1.964e-06/2.676, allocations: 0 / 0.8518 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21): time 0.0008878/2.677, allocations: 329.9 kB / 0.8522 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/2.677, allocations: 55 kB / 0.8522 GB, free: 301.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/2.677, allocations: 362 kB / 0.8526 GB, free: 301.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/2.677, allocations: 29.3 kB / 0.8526 GB, free: 301.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/2.677, allocations: 251 kB / 0.8528 GB, free: 301.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/2.677, allocations: 74.25 kB / 0.8529 GB, free: 301.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/2.677, allocations: 82.41 kB / 0.853 GB, free: 301.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.196e-05/2.677, allocations: 340.6 kB / 0.8533 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/2.677, allocations: 79.59 kB / 0.8534 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/2.678, allocations: 178.1 kB / 0.8535 GB, free: 300.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/2.678, allocations: 263.9 kB / 0.8538 GB, free: 300.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/2.678, allocations: 2.797 kB / 0.8538 GB, free: 300.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007107/2.679, allocations: 390.2 kB / 0.8542 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/2.679, allocations: 7.781 kB / 0.8542 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/2.679, allocations: 3.969 kB / 0.8542 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008902/2.68, allocations: 172.2 kB / 0.8543 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/2.68, allocations: 50.7 kB / 0.8544 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/2.681, allocations: 2.255 MB / 0.8566 GB, free: 298.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/2.682, allocations: 45.95 kB / 0.8566 GB, free: 298.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/2.682, allocations: 15.25 kB / 0.8567 GB, free: 298.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (sourceP1.C.ftype,puitsP1.fluid,checkValve.fluid,checkValve.libre,$whenCondition1,$whenCondition2,sourceP1.fluid1,sourceP1.C.diff_on_2,checkValve.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001414/2.682, allocations: 168.5 kB / 0.8568 GB, free: 298.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/2.682, allocations: 35.39 kB / 0.8569 GB, free: 298.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006063/2.682, allocations: 321.2 kB / 0.8572 GB, free: 298.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/2.682, allocations: 3.875 kB / 0.8572 GB, free: 298.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/2.682, allocations: 4 kB / 0.8572 GB, free: 298.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/2.682, allocations: 1.688 kB / 0.8572 GB, free: 298.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/2.683, allocations: 281.6 kB / 0.8574 GB, free: 298.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/2.683, allocations: 0 / 0.8574 GB, free: 298.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/2.683, allocations: 46.23 kB / 0.8575 GB, free: 298.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000383/2.683, allocations: 77.47 kB / 0.8576 GB, free: 298.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/2.683, allocations: 7.562 kB / 0.8576 GB, free: 298.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002952/2.684, allocations: 0.5682 MB / 0.8581 GB, free: 297.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/2.684, allocations: 0 / 0.8581 GB, free: 297.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/2.684, allocations: 386.5 kB / 0.8585 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/2.684, allocations: 64.2 kB / 0.8585 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/2.684, allocations: 3.688 kB / 0.8585 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/2.685, allocations: 20.94 kB / 0.8586 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/2.685, allocations: 26.62 kB / 0.8586 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/2.685, allocations: 11.44 kB / 0.8586 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001956/2.685, allocations: 244.2 kB / 0.8588 GB, free: 297.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/2.685, allocations: 0 / 0.8588 GB, free: 297.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002851/2.688, allocations: 1.492 MB / 0.8603 GB, free: 297.4 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (checkValve.omega,checkValve.theta) * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,checkValve.libre) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.005655/2.693, allocations: 2.225 MB / 0.8625 GB, free: 296.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006565/2.694, allocations: 343.9 kB / 0.8628 GB, free: 296.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/2.694, allocations: 4.062 kB / 0.8628 GB, free: 296.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/2.694, allocations: 105.2 kB / 0.8629 GB, free: 296 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/2.695, allocations: 77.61 kB / 0.863 GB, free: 296 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/2.696, allocations: 0.8183 MB / 0.8638 GB, free: 295.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/2.696, allocations: 219 kB / 0.864 GB, free: 295 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001518/2.696, allocations: 50.8 kB / 0.864 GB, free: 294.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/2.696, allocations: 31.31 kB / 0.8641 GB, free: 294.9 MB / 0.6856 GB Notification: Performance of SimCode: time 3.11e-07/2.696, allocations: 0 / 0.8641 GB, free: 294.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.04618/2.742, allocations: 47.66 MB / 0.9106 GB, free: 247.9 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.495404224842787] Failed to read output from testmodel.py, exit status != 0: 2.8649588841944933 2.873361881 0.608208882 Calling exit ...