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.4857/0.4857, allocations: 111.6 MB / 132.2 MB, free: 4.953 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.422e-06/1.422e-06, allocations: 0 / 177.3 MB, free: 8.973 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.713e-05, allocations: 6.312 kB / 177.3 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.005/1.005, allocations: 257.4 MB / 434.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3179/1.323, allocations: 178.6 MB / 0.5989 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/1.323, allocations: 15.81 kB / 0.5989 GB, free: 3.105 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.0001873/1.323, allocations: 59.44 kB / 0.5989 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002812/1.324, allocations: 162.6 kB / 0.5991 GB, free: 2.887 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.02065/1.344, allocations: 11.77 MB / 0.6106 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007055/1.345, allocations: 0.5141 MB / 0.6111 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/1.345, allocations: 213.2 kB / 0.6113 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/1.345, allocations: 319.3 kB / 0.6116 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/1.346, allocations: 163.5 kB / 0.6117 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/1.346, allocations: 40 kB / 0.6118 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02165/1.367, allocations: 18.66 MB / 0.63 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/1.367, allocations: 103.6 kB / 0.6301 GB, free: 3.059 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/1.368, allocations: 167.5 kB / 0.6303 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01883/1.386, allocations: 12.28 MB / 0.6423 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.386, allocations: 0 / 0.6423 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.372e-06/1.386, allocations: 0 / 0.6423 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.741e-06/1.386, allocations: 0 / 0.6423 GB, free: 6.586 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.003786/1.39, allocations: 2.011 MB / 0.6442 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.39, allocations: 15.97 kB / 0.6442 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/1.39, allocations: 91.67 kB / 0.6443 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/1.391, allocations: 327.5 kB / 0.6446 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/1.391, allocations: 80.41 kB / 0.6447 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/1.391, allocations: 40 kB / 0.6448 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/1.391, allocations: 334.5 kB / 0.6451 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/1.391, allocations: 4.875 kB / 0.6451 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/1.391, allocations: 16 kB / 0.6451 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.391, allocations: 11.94 kB / 0.6451 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/1.391, allocations: 135 kB / 0.6452 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/1.393, allocations: 1.423 MB / 0.6466 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/1.393, allocations: 119.7 kB / 0.6467 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/1.393, allocations: 52.27 kB / 0.6468 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1051/1.498, allocations: 60.39 MB / 0.7058 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/1.498, allocations: 109 kB / 0.7059 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/1.498, allocations: 0 / 0.7059 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0005138/1.499, allocations: 237.7 kB / 0.7061 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/1.499, allocations: 59.41 kB / 0.7061 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/1.499, allocations: 386.3 kB / 0.7065 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/1.499, allocations: 29.7 kB / 0.7065 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/1.499, allocations: 303 kB / 0.7068 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/1.499, allocations: 75.36 kB / 0.7069 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/1.499, allocations: 87.55 kB / 0.707 GB, free: 3.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.499, allocations: 0.5156 MB / 0.7075 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/1.499, allocations: 37.19 kB / 0.7075 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/1.499, allocations: 172.5 kB / 0.7077 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/1.5, allocations: 250.3 kB / 0.7079 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.5, allocations: 0 / 0.7079 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003866/1.5, allocations: 305.7 kB / 0.7082 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.5, allocations: 4 kB / 0.7082 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.5, allocations: 4 kB / 0.7082 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/1.5, allocations: 119.2 kB / 0.7083 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/1.501, allocations: 56.59 kB / 0.7084 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1951/1.696, allocations: 2.915 MB / 0.7112 GB, free: 96.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/1.696, allocations: 34.17 kB / 0.7113 GB, free: 96.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/1.696, allocations: 14.94 kB / 0.7113 GB, free: 96.48 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.0001333/1.696, allocations: 181.7 kB / 0.7115 GB, free: 96.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/1.696, allocations: 41.48 kB / 0.7115 GB, free: 96.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/1.696, allocations: 261.3 kB / 0.7117 GB, free: 96.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.696, allocations: 4.594 kB / 0.7118 GB, free: 96.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/1.696, allocations: 1.125 kB / 0.7118 GB, free: 96.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.696, allocations: 2.172 kB / 0.7118 GB, free: 96.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/1.697, allocations: 228.5 kB / 0.712 GB, free: 96.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.697, allocations: 4.766 kB / 0.712 GB, free: 96.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/1.697, allocations: 48.91 kB / 0.712 GB, free: 96.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/1.697, allocations: 46.94 kB / 0.7121 GB, free: 96.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/1.697, allocations: 7.656 kB / 0.7121 GB, free: 96.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001917/1.697, allocations: 0.8199 MB / 0.7129 GB, free: 95.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.697, allocations: 4.406 kB / 0.7129 GB, free: 95.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/1.698, allocations: 287.7 kB / 0.7132 GB, free: 95.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/1.698, allocations: 57.64 kB / 0.7132 GB, free: 95.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/1.698, allocations: 5.875 kB / 0.7132 GB, free: 95.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/1.698, allocations: 9.172 kB / 0.7132 GB, free: 95.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/1.698, allocations: 28.47 kB / 0.7133 GB, free: 95.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/1.698, allocations: 10.56 kB / 0.7133 GB, free: 95.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001259/1.698, allocations: 237.7 kB / 0.7135 GB, free: 95.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/1.698, allocations: 0.9062 kB / 0.7135 GB, free: 95.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002896/1.701, allocations: 1.49 MB / 0.7149 GB, free: 95.11 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.004557/1.705, allocations: 2.517 MB / 0.7174 GB, free: 94.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004046/1.706, allocations: 337 kB / 0.7177 GB, free: 94.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.706, allocations: 0 / 0.7177 GB, free: 94.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/1.706, allocations: 96.66 kB / 0.7178 GB, free: 94.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/1.706, allocations: 85 kB / 0.7179 GB, free: 94.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/1.707, allocations: 0.7313 MB / 0.7186 GB, free: 94.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/1.707, allocations: 108 kB / 0.7187 GB, free: 94.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001162/1.708, allocations: 49.47 kB / 0.7188 GB, free: 94.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/1.708, allocations: 136.6 kB / 0.7189 GB, free: 94.28 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/1.708, allocations: 0 / 0.7189 GB, free: 94.28 MB / 0.6198 GB Notification: Performance of Templates: time 0.04479/1.752, allocations: 56.48 MB / 0.774 GB, free: 72.75 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: 6.9300350728444755]