Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.8867/0.8867, allocations: 153.8 MB / 173.4 MB, free: 4.875 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.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005366/0.0005366, allocations: 7.984 kB / 251 MB, free: 3.871 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.167, allocations: 33.36 MB / 284.4 MB, free: 2.055 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.Examples.SimpleExamples.TestDynamicCheckValve): time 1.876/2.043, allocations: 307.8 MB / 0.5783 GB, free: 17.44 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03507/2.078, allocations: 30.88 MB / 0.6085 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/2.079, allocations: 3.219 kB / 0.6085 GB, free: 2.586 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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:33:3-34:47: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/DynamicCheckValve.mo:61:3-63:16: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/DynamicCheckValve.mo:64:3-65:51: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.0005157/2.079, allocations: 120.3 kB / 0.6086 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004926/2.08, allocations: 155.2 kB / 0.6087 GB, free: 2.438 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02689/2.107, allocations: 9.863 MB / 0.6184 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008491/2.108, allocations: 456.9 kB / 0.6188 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/2.108, allocations: 137.6 kB / 0.6189 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/2.108, allocations: 199.2 kB / 0.6191 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/2.108, allocations: 155.2 kB / 0.6193 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/2.108, allocations: 24 kB / 0.6193 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03388/2.142, allocations: 16.77 MB / 0.6357 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/2.142, allocations: 71.69 kB / 0.6357 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/2.143, allocations: 151.2 kB / 0.6359 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01864/2.161, allocations: 8.533 MB / 0.6442 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/2.161, allocations: 0 / 0.6442 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/2.161, allocations: 0 / 0.6442 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.236e-05/2.161, allocations: 0 / 0.6442 GB, free: 1.684 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004462/2.166, allocations: 1.552 MB / 0.6457 GB, free: 92 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/2.166, allocations: 12.03 kB / 0.6457 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/2.166, allocations: 51.7 kB / 0.6458 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/2.166, allocations: 209.3 kB / 0.646 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.352e-05/2.167, allocations: 76.72 kB / 0.6461 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/2.167, allocations: 24 kB / 0.6461 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/2.167, allocations: 358.3 kB / 0.6464 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/2.167, allocations: 4.891 kB / 0.6464 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/2.167, allocations: 8 kB / 0.6464 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/2.167, allocations: 19.98 kB / 0.6465 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/2.168, allocations: 225.7 kB / 0.6467 GB, free: 15.06 MB / 0.5137 GB 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.02039/2.188, allocations: 6.028 MB / 0.6526 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/2.189, allocations: 238.9 kB / 0.6528 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/2.189, allocations: 129.6 kB / 0.6529 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1757/2.365, allocations: 48.43 MB / 0.7002 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004285/2.365, allocations: 220 kB / 0.7004 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.014e-06/2.365, allocations: 1.969 kB / 0.7004 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001133/2.366, allocations: 485.8 kB / 0.7009 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/2.366, allocations: 85.14 kB / 0.701 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/2.367, allocations: 224.8 kB / 0.7012 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/2.367, allocations: 29.7 kB / 0.7012 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/2.367, allocations: 173 kB / 0.7014 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/2.367, allocations: 162.5 kB / 0.7015 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/2.367, allocations: 65.91 kB / 0.7016 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001637/2.367, allocations: 342.8 kB / 0.7019 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/2.367, allocations: 112.7 kB / 0.702 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/2.368, allocations: 163.7 kB / 0.7022 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/2.368, allocations: 292.7 kB / 0.7025 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/2.368, allocations: 4 kB / 0.7025 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008743/2.369, allocations: 432.6 kB / 0.7029 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/2.369, allocations: 4.125 kB / 0.7029 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/2.369, allocations: 9.016 kB / 0.7029 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009899/2.37, allocations: 193.5 kB / 0.7031 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/2.37, allocations: 23.98 kB / 0.7031 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/2.373, allocations: 2.297 MB / 0.7053 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/2.373, allocations: 44.78 kB / 0.7054 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/2.373, allocations: 11.98 kB / 0.7054 GB, free: 2.559 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (checkValve.C2.b,checkValve.C1.a,puitsP1.C.a,sourceP1.C.b,checkValve.libre,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001708/2.373, allocations: 145.8 kB / 0.7055 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/2.373, allocations: 31.81 kB / 0.7056 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009015/2.374, allocations: 0.5625 MB / 0.7061 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005794/2.375, allocations: 367 kB / 0.7065 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/2.375, allocations: 1.969 kB / 0.7065 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/2.375, allocations: 0 / 0.7065 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/2.376, allocations: 0.8633 MB / 0.7073 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/2.376, allocations: 0 / 0.7073 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/2.376, allocations: 64.59 kB / 0.7074 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000361/2.377, allocations: 104.8 kB / 0.7075 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/2.377, allocations: 11.94 kB / 0.7075 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006102/2.377, allocations: 0.642 MB / 0.7081 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.377, allocations: 0.875 kB / 0.7081 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/2.378, allocations: 0.6477 MB / 0.7087 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/2.378, allocations: 51.75 kB / 0.7088 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/2.378, allocations: 11.92 kB / 0.7088 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/2.379, allocations: 15.98 kB / 0.7088 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/2.379, allocations: 35.94 kB / 0.7089 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/2.379, allocations: 8 kB / 0.7089 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002204/2.379, allocations: 197.2 kB / 0.7091 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.379, allocations: 0 / 0.7091 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003042/2.382, allocations: 1.235 MB / 0.7103 GB, free: 13.44 MB / 0.5762 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.004874/2.387, allocations: 1.754 MB / 0.712 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001089/2.388, allocations: 480.6 kB / 0.7124 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/2.388, allocations: 0 / 0.7124 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004442/2.388, allocations: 168.3 kB / 0.7126 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/2.389, allocations: 127.8 kB / 0.7127 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/2.391, allocations: 0.9095 MB / 0.7136 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/2.391, allocations: 208.2 kB / 0.7138 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.511e-05/2.391, allocations: 27.44 kB / 0.7138 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/2.391, allocations: 4 kB / 0.7138 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of Templates: time 0.03969/2.431, allocations: 26.96 MB / 0.7402 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.98423789581284] Failed to read output from testmodel.py, exit status != 0: 2.5914589730091393 2.823667432 0.6596392010000001 Calling exit ...