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.863/0.863, allocations: 120.4 MB / 140.1 MB, free: 60 kB / 126.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.0006027/0.0006027, allocations: 18.3 kB / 217.7 MB, free: 13.52 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05579/0.05639, allocations: 33.37 MB / 251.1 MB, free: 13.3 MB / 238.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.8/1.856, allocations: 254.1 MB / 0.4933 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04454/1.901, allocations: 30.81 MB / 0.5234 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/1.901, allocations: 4 kB / 0.5234 GB, free: 5.984 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.0005356/1.902, allocations: 154.8 kB / 0.5236 GB, free: 5.836 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/1.902, allocations: 171.8 kB / 0.5237 GB, free: 5.668 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.02787/1.93, allocations: 9.846 MB / 0.5334 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006603/1.93, allocations: 394.2 kB / 0.5337 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/1.931, allocations: 109.5 kB / 0.5338 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/1.931, allocations: 183.2 kB / 0.534 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/1.931, allocations: 163.9 kB / 0.5342 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/1.931, allocations: 20.84 kB / 0.5342 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03312/1.964, allocations: 16.83 MB / 0.5506 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/1.964, allocations: 83.64 kB / 0.5507 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/1.965, allocations: 127.3 kB / 0.5508 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02034/1.985, allocations: 8.556 MB / 0.5592 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.985, allocations: 0 / 0.5592 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/1.985, allocations: 0 / 0.5592 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.985, allocations: 3.188 kB / 0.5592 GB, free: 1.402 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.004023/1.989, allocations: 1.504 MB / 0.5606 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/1.989, allocations: 8.031 kB / 0.5607 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.49e-05/1.989, allocations: 47.7 kB / 0.5607 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/1.99, allocations: 224.1 kB / 0.5609 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/1.99, allocations: 21.8 kB / 0.5609 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/1.99, allocations: 20 kB / 0.561 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/1.99, allocations: 328.4 kB / 0.5613 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.99, allocations: 0 / 0.5613 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/1.99, allocations: 10.22 kB / 0.5613 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/1.99, allocations: 19.92 kB / 0.5613 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/1.99, allocations: 205.2 kB / 0.5615 GB, free: 14.95 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.03945/2.03, allocations: 10.87 MB / 0.5721 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/2.03, allocations: 127.6 kB / 0.5722 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/2.03, allocations: 88.77 kB / 0.5723 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.162/2.192, allocations: 43.59 MB / 0.6149 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/2.192, allocations: 30.56 kB / 0.6149 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.086e-06/2.192, allocations: 5.078 kB / 0.6149 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001184/2.194, allocations: 421.7 kB / 0.6153 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/2.194, allocations: 55.41 kB / 0.6154 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/2.194, allocations: 312.2 kB / 0.6157 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/2.194, allocations: 25.7 kB / 0.6157 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/2.194, allocations: 192.5 kB / 0.6159 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.7e-05/2.194, allocations: 115 kB / 0.616 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-05/2.194, allocations: 57.69 kB / 0.616 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001664/2.195, allocations: 338.8 kB / 0.6164 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/2.195, allocations: 95.95 kB / 0.6165 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/2.195, allocations: 136.2 kB / 0.6166 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/2.195, allocations: 256.7 kB / 0.6168 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/2.195, allocations: 3.938 kB / 0.6168 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005419/2.196, allocations: 345.5 kB / 0.6172 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/2.196, allocations: 11.98 kB / 0.6172 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/2.196, allocations: 4.125 kB / 0.6172 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009137/2.197, allocations: 133.6 kB / 0.6173 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/2.197, allocations: 11.94 kB / 0.6173 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006504/2.197, allocations: 0.6149 MB / 0.6179 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/2.198, allocations: 27.66 kB / 0.6179 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/2.198, allocations: 4 kB / 0.6179 GB, free: 4.902 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.0001839/2.198, allocations: 161.8 kB / 0.6181 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/2.198, allocations: 27.81 kB / 0.6181 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009406/2.199, allocations: 0.627 MB / 0.6187 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004965/2.199, allocations: 279.3 kB / 0.619 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/2.199, allocations: 0 / 0.619 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/2.199, allocations: 0 / 0.619 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/2.201, allocations: 0.717 MB / 0.6197 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/2.201, allocations: 0 / 0.6197 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/2.201, allocations: 16 kB / 0.6197 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003892/2.201, allocations: 104.8 kB / 0.6198 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/2.201, allocations: 3.984 kB / 0.6198 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005957/2.202, allocations: 0.6475 MB / 0.6205 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/2.202, allocations: 0 / 0.6205 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/2.202, allocations: 391.8 kB / 0.6208 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/2.202, allocations: 39.73 kB / 0.6209 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/2.202, allocations: 7.938 kB / 0.6209 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/2.202, allocations: 4 kB / 0.6209 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/2.202, allocations: 11.92 kB / 0.6209 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/2.202, allocations: 4 kB / 0.6209 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003866/2.203, allocations: 303.1 kB / 0.6212 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.203, allocations: 0 / 0.6212 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003244/2.206, allocations: 1.235 MB / 0.6224 GB, free: 172 kB / 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.005079/2.211, allocations: 1.762 MB / 0.6241 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008385/2.212, allocations: 262.4 kB / 0.6244 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.212, allocations: 0 / 0.6244 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003192/2.212, allocations: 107.9 kB / 0.6245 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007915/2.213, allocations: 121.2 kB / 0.6246 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/2.214, allocations: 0.6565 MB / 0.6252 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/2.215, allocations: 200.8 kB / 0.6254 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.538e-05/2.215, allocations: 26.84 kB / 0.6254 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/2.215, allocations: 24.5 kB / 0.6255 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/2.215, allocations: 0 / 0.6255 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of Templates: time 0.0663/2.281, allocations: 42.49 MB / 0.667 GB, free: 2.715 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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.368748700944707] Failed to read output from testmodel.py, exit status != 0: 2.6396347070112824 2.649054701 0.661503758 Calling exit ...