Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.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.8702/0.8702, allocations: 153.8 MB / 172.7 MB, free: 4.852 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.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005577/0.0005577, allocations: 19.97 kB / 250.3 MB, free: 3.855 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1635, allocations: 33.35 MB / 283.7 MB, free: 2.043 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.TestControlValve): time 1.888/2.051, allocations: 307.6 MB / 0.5774 GB, free: 17.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03224/2.083, allocations: 30.81 MB / 0.6075 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/2.084, allocations: 2.5 kB / 0.6075 GB, free: 2.684 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/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38: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.0006493/2.084, allocations: 160.3 kB / 0.6077 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004762/2.085, allocations: 171.6 kB / 0.6078 GB, free: 2.547 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.04047/2.125, allocations: 9.839 MB / 0.6174 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/2.126, allocations: 399 kB / 0.6178 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/2.127, allocations: 119.7 kB / 0.6179 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/2.127, allocations: 175.9 kB / 0.6181 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/2.128, allocations: 163.3 kB / 0.6182 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/2.128, allocations: 16 kB / 0.6183 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04066/2.168, allocations: 16.84 MB / 0.6347 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/2.168, allocations: 75.7 kB / 0.6348 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/2.169, allocations: 127.3 kB / 0.6349 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02044/2.189, allocations: 8.552 MB / 0.6433 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/2.189, allocations: 4 kB / 0.6433 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/2.189, allocations: 0 / 0.6433 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.116e-06/2.189, allocations: 0 / 0.6433 GB, free: 1.887 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.004163/2.193, allocations: 1.504 MB / 0.6447 GB, free: 352 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/2.193, allocations: 12.03 kB / 0.6447 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/2.193, allocations: 39.72 kB / 0.6448 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/2.194, allocations: 229.1 kB / 0.645 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/2.194, allocations: 24.31 kB / 0.645 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/2.194, allocations: 24 kB / 0.645 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/2.194, allocations: 319.4 kB / 0.6453 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/2.194, allocations: 3.938 kB / 0.6453 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/2.194, allocations: 13 kB / 0.6454 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/2.194, allocations: 13.25 kB / 0.6454 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/2.195, allocations: 205.2 kB / 0.6456 GB, free: 15.44 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.03835/2.233, allocations: 10.87 MB / 0.6562 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/2.233, allocations: 131.9 kB / 0.6563 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/2.233, allocations: 92.83 kB / 0.6564 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1984/2.432, allocations: 43.58 MB / 0.699 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/2.432, allocations: 34.56 kB / 0.699 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.577e-06/2.432, allocations: 0 / 0.699 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001792/2.434, allocations: 424.3 kB / 0.6994 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/2.434, allocations: 51.41 kB / 0.6994 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006012/2.434, allocations: 316.1 kB / 0.6997 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/2.434, allocations: 25.7 kB / 0.6998 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/2.435, allocations: 200.5 kB / 0.7 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/2.435, allocations: 111 kB / 0.7001 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/2.435, allocations: 58.42 kB / 0.7001 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002317/2.435, allocations: 342.8 kB / 0.7005 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/2.435, allocations: 91.97 kB / 0.7005 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/2.436, allocations: 140.2 kB / 0.7007 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/2.436, allocations: 249.5 kB / 0.7009 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/2.436, allocations: 4 kB / 0.7009 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009151/2.437, allocations: 342.2 kB / 0.7012 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/2.437, allocations: 4 kB / 0.7012 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/2.437, allocations: 4 kB / 0.7013 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/2.439, allocations: 141.6 kB / 0.7014 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/2.439, allocations: 19.92 kB / 0.7014 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009298/2.44, allocations: 0.6037 MB / 0.702 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/2.44, allocations: 30.19 kB / 0.702 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/2.44, allocations: 4 kB / 0.702 GB, free: 5.391 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: 4 (ControlValve.C2.b,ControlValve.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 (13): * Single equations (assignments): 10 * 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 0.0002856/2.44, allocations: 166.4 kB / 0.7022 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.607e-05/2.44, allocations: 24.84 kB / 0.7022 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/2.442, allocations: 0.6318 MB / 0.7028 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007859/2.442, allocations: 263.8 kB / 0.7031 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/2.442, allocations: 4 kB / 0.7031 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/2.442, allocations: 3.984 kB / 0.7031 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/2.444, allocations: 0.7101 MB / 0.7038 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/2.444, allocations: 4.562 kB / 0.7038 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.026e-05/2.444, allocations: 12.56 kB / 0.7038 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/2.445, allocations: 104.2 kB / 0.7039 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/2.445, allocations: 11.94 kB / 0.7039 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009225/2.446, allocations: 0.6499 MB / 0.7045 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/2.446, allocations: 0.8125 kB / 0.7045 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009364/2.447, allocations: 381.6 kB / 0.7049 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/2.447, allocations: 49.55 kB / 0.705 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/2.447, allocations: 11.94 kB / 0.705 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/2.447, allocations: 4 kB / 0.705 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/2.447, allocations: 11.98 kB / 0.705 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/2.447, allocations: 4.062 kB / 0.705 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006104/2.448, allocations: 308 kB / 0.7053 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/2.448, allocations: 0 / 0.7053 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004472/2.452, allocations: 1.224 MB / 0.7065 GB, free: 0.6602 MB / 0.5606 GB 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.008132/2.461, allocations: 1.764 MB / 0.7082 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001103/2.462, allocations: 260.8 kB / 0.7084 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/2.462, allocations: 0 / 0.7084 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005113/2.462, allocations: 105.7 kB / 0.7085 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/2.463, allocations: 115 kB / 0.7087 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/2.465, allocations: 0.6664 MB / 0.7093 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/2.466, allocations: 200.8 kB / 0.7095 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001587/2.466, allocations: 25.05 kB / 0.7095 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/2.466, allocations: 23.42 kB / 0.7095 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/2.466, allocations: 4 kB / 0.7095 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.09508/2.561, allocations: 42.97 MB / 0.7515 GB, free: 3.012 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.603182807564735] Failed to read output from testmodel.py, exit status != 0: 2.923624260351062 2.93411406 0.742467935 Calling exit ...