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.4824/0.4824, allocations: 111.6 MB / 131.4 MB, free: 4.898 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.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 1.733e-06/1.733e-06, allocations: 0 / 176.5 MB, free: 8.969 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.474e-05, allocations: 7.188 kB / 176.5 MB, free: 8.965 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.Fluid.Examples.SimpleExamples.TestDynamicCheckValve): time 1.004/1.004, allocations: 257.4 MB / 433.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3164/1.32, allocations: 178.6 MB / 0.5981 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/1.321, allocations: 7.938 kB / 0.5981 GB, free: 2.922 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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:32:3-33:80: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:46:3-47:80: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:48:3-49:78: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.0002006/1.321, allocations: 63.44 kB / 0.5982 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002983/1.321, allocations: 166.5 kB / 0.5983 GB, free: 2.695 MB / 0.5105 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88: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.0216/1.343, allocations: 11.78 MB / 0.6098 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005138/1.343, allocations: 0.4986 MB / 0.6103 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/1.343, allocations: 218 kB / 0.6105 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/1.344, allocations: 331.2 kB / 0.6109 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/1.344, allocations: 163.5 kB / 0.611 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/1.344, allocations: 40 kB / 0.611 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02249/1.367, allocations: 18.65 MB / 0.6293 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/1.367, allocations: 111.6 kB / 0.6294 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/1.367, allocations: 155.6 kB / 0.6295 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01785/1.385, allocations: 12.27 MB / 0.6415 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.385, allocations: 4 kB / 0.6415 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.493e-06/1.385, allocations: 4 kB / 0.6415 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.713e-06/1.385, allocations: 0 / 0.6415 GB, free: 6.391 MB / 0.5573 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.004033/1.389, allocations: 2.018 MB / 0.6435 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.389, allocations: 11.98 kB / 0.6435 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/1.389, allocations: 91.67 kB / 0.6436 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/1.389, allocations: 315.6 kB / 0.6439 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/1.389, allocations: 84.41 kB / 0.644 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/1.389, allocations: 39.98 kB / 0.644 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/1.39, allocations: 330.5 kB / 0.6443 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.39, allocations: 3.938 kB / 0.6443 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/1.39, allocations: 16 kB / 0.6443 GB, free: 3.371 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/1.39, allocations: 19.94 kB / 0.6444 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/1.39, allocations: 142.9 kB / 0.6445 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/1.391, allocations: 1.423 MB / 0.6459 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/1.391, allocations: 119 kB / 0.646 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/1.391, allocations: 43.66 kB / 0.646 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09824/1.49, allocations: 60.78 MB / 0.7054 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/1.49, allocations: 109 kB / 0.7055 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 1.893e-06/1.49, allocations: 0 / 0.7055 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.000591/1.49, allocations: 286.5 kB / 0.7058 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/1.49, allocations: 51.41 kB / 0.7058 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/1.491, allocations: 386.3 kB / 0.7062 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.491, allocations: 29.7 kB / 0.7062 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/1.491, allocations: 295.1 kB / 0.7065 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/1.491, allocations: 75.36 kB / 0.7066 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/1.491, allocations: 91.55 kB / 0.7067 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.491, allocations: 0.5156 MB / 0.7072 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.791e-05/1.491, allocations: 36.62 kB / 0.7072 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/1.491, allocations: 180.5 kB / 0.7074 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/1.491, allocations: 242.3 kB / 0.7076 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.491, allocations: 0 / 0.7076 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003977/1.492, allocations: 332.3 kB / 0.7079 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.492, allocations: 8 kB / 0.7079 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.492, allocations: 4 kB / 0.7079 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/1.492, allocations: 113.2 kB / 0.708 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/1.492, allocations: 51.91 kB / 0.7081 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2037/1.696, allocations: 2.92 MB / 0.7109 GB, free: 95.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/1.696, allocations: 31.98 kB / 0.711 GB, free: 95.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/1.696, allocations: 13.31 kB / 0.711 GB, free: 95.38 MB / 0.6198 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 (checkValve.C2.diff_on_1,sourceP1.C.diff_on_2,sourceP1.fluid1,checkValve.fluid,puitsP1.fluid,checkValve.libre,$whenCondition1,$whenCondition2,sourceP1.C.ftype) * 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.0001306/1.696, allocations: 185.7 kB / 0.7112 GB, free: 95.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/1.696, allocations: 39.44 kB / 0.7112 GB, free: 95.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/1.697, allocations: 298 kB / 0.7115 GB, free: 95.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/1.697, allocations: 6.438 kB / 0.7115 GB, free: 95.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/1.697, allocations: 1.328 kB / 0.7115 GB, free: 95.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.697, allocations: 4.453 kB / 0.7115 GB, free: 95.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/1.697, allocations: 225.3 kB / 0.7117 GB, free: 95.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.697, allocations: 1.375 kB / 0.7117 GB, free: 95.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/1.697, allocations: 40.42 kB / 0.7117 GB, free: 95.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/1.697, allocations: 57.73 kB / 0.7118 GB, free: 95.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/1.697, allocations: 6.75 kB / 0.7118 GB, free: 95.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00019/1.698, allocations: 0.8169 MB / 0.7126 GB, free: 94.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.698, allocations: 1.375 kB / 0.7126 GB, free: 94.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/1.698, allocations: 327.9 kB / 0.7129 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/1.698, allocations: 63.12 kB / 0.713 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/1.698, allocations: 4.922 kB / 0.713 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/1.698, allocations: 8.281 kB / 0.713 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/1.698, allocations: 32.09 kB / 0.713 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/1.698, allocations: 8.562 kB / 0.713 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001332/1.698, allocations: 237.4 kB / 0.7133 GB, free: 94.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/1.698, allocations: 0.9062 kB / 0.7133 GB, free: 94.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003194/1.702, allocations: 1.494 MB / 0.7147 GB, free: 94.01 MB / 0.6198 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.004416/1.706, allocations: 2.497 MB / 0.7172 GB, free: 93.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004234/1.706, allocations: 343.5 kB / 0.7175 GB, free: 93.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.706, allocations: 1.219 kB / 0.7175 GB, free: 93.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/1.707, allocations: 98.86 kB / 0.7176 GB, free: 93.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/1.707, allocations: 81.25 kB / 0.7177 GB, free: 93.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/1.708, allocations: 0.7392 MB / 0.7184 GB, free: 93.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.455e-05/1.708, allocations: 108 kB / 0.7185 GB, free: 93.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001504/1.708, allocations: 54.3 kB / 0.7185 GB, free: 93.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/1.708, allocations: 135 kB / 0.7187 GB, free: 93.17 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/1.708, allocations: 1.203 kB / 0.7187 GB, free: 93.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.05082/1.759, allocations: 56.44 MB / 0.7738 GB, free: 71.64 MB / 0.6198 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.820207478944212]