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.8465/0.8465, allocations: 153.8 MB / 173.4 MB, free: 4.941 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.0004939/0.0004939, allocations: 11.97 kB / 251.1 MB, free: 3.949 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1814, allocations: 33.36 MB / 284.5 MB, free: 2.008 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.854/2.036, allocations: 307.5 MB / 0.5781 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03525/2.071, allocations: 35.03 MB / 0.6123 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/2.072, allocations: 6.312 kB / 0.6123 GB, free: 14.13 MB / 494.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.0006773/2.072, allocations: 185.5 kB / 0.6125 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/2.073, allocations: 167.1 kB / 0.6127 GB, free: 13.98 MB / 494.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.03116/2.104, allocations: 9.991 MB / 0.6224 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007777/2.105, allocations: 386.3 kB / 0.6228 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/2.105, allocations: 113.8 kB / 0.6229 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/2.105, allocations: 175.2 kB / 0.6231 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/2.105, allocations: 180.7 kB / 0.6233 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/2.105, allocations: 20 kB / 0.6233 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04063/2.146, allocations: 18 MB / 0.6409 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/2.146, allocations: 75.7 kB / 0.6409 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/2.146, allocations: 163.1 kB / 0.6411 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02308/2.17, allocations: 8.55 MB / 0.6494 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/2.17, allocations: 4 kB / 0.6494 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.714e-06/2.17, allocations: 0 / 0.6494 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.679e-06/2.17, allocations: 0 / 0.6494 GB, free: 12.4 MB / 0.5137 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.004743/2.174, allocations: 1.516 MB / 0.6509 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/2.174, allocations: 8.031 kB / 0.6509 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.458e-05/2.174, allocations: 39.72 kB / 0.651 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/2.175, allocations: 240 kB / 0.6512 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/2.175, allocations: 17.41 kB / 0.6512 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/2.175, allocations: 20 kB / 0.6512 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/2.175, allocations: 324.9 kB / 0.6515 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/2.175, allocations: 4 kB / 0.6515 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/2.175, allocations: 8 kB / 0.6515 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/2.175, allocations: 15.98 kB / 0.6516 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/2.176, allocations: 201.2 kB / 0.6518 GB, free: 9.941 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.03667/2.212, allocations: 11.35 MB / 0.6628 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/2.213, allocations: 126.5 kB / 0.663 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/2.213, allocations: 84.83 kB / 0.663 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1528/2.366, allocations: 43.42 MB / 0.7054 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/2.366, allocations: 31.41 kB / 0.7055 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.695e-06/2.366, allocations: 0 / 0.7055 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001249/2.367, allocations: 428.3 kB / 0.7059 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/2.367, allocations: 55.39 kB / 0.7059 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/2.367, allocations: 352.5 kB / 0.7063 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/2.367, allocations: 25.7 kB / 0.7063 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/2.368, allocations: 184.7 kB / 0.7065 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/2.368, allocations: 122.9 kB / 0.7066 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/2.368, allocations: 57.69 kB / 0.7066 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001827/2.368, allocations: 343.7 kB / 0.707 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/2.368, allocations: 95.95 kB / 0.7071 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/2.368, allocations: 140.2 kB / 0.7072 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/2.369, allocations: 257.6 kB / 0.7074 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/2.369, allocations: 7.938 kB / 0.7074 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005607/2.369, allocations: 341.4 kB / 0.7078 GB, free: 260 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/2.369, allocations: 4 kB / 0.7078 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/2.369, allocations: 4 kB / 0.7078 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000856/2.37, allocations: 144.8 kB / 0.7079 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/2.37, allocations: 12.84 kB / 0.7079 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006882/2.371, allocations: 0.6167 MB / 0.7085 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/2.371, allocations: 35.7 kB / 0.7086 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/2.371, allocations: 4.75 kB / 0.7086 GB, free: 15.41 MB / 0.5762 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.0001802/2.371, allocations: 153.8 kB / 0.7087 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/2.371, allocations: 31.81 kB / 0.7087 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000937/2.372, allocations: 0.638 MB / 0.7094 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000482/2.373, allocations: 254.3 kB / 0.7096 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/2.373, allocations: 0.8438 kB / 0.7096 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/2.373, allocations: 0.5625 kB / 0.7096 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/2.374, allocations: 0.804 MB / 0.7104 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/2.374, allocations: 1.641 kB / 0.7104 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/2.374, allocations: 19.94 kB / 0.7104 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003792/2.374, allocations: 104.8 kB / 0.7105 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/2.374, allocations: 3.984 kB / 0.7105 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005883/2.375, allocations: 0.644 MB / 0.7112 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/2.375, allocations: 0.625 kB / 0.7112 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/2.376, allocations: 393.7 kB / 0.7115 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/2.376, allocations: 43.73 kB / 0.7116 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/2.376, allocations: 11.89 kB / 0.7116 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/2.376, allocations: 4 kB / 0.7116 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/2.376, allocations: 7.984 kB / 0.7116 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/2.376, allocations: 8.875 kB / 0.7116 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004064/2.376, allocations: 331.1 kB / 0.7119 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.376, allocations: 0 / 0.7119 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003283/2.38, allocations: 1.224 MB / 0.7131 GB, free: 10.57 MB / 0.5762 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.005916/2.385, allocations: 1.761 MB / 0.7148 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007503/2.386, allocations: 265.5 kB / 0.7151 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/2.386, allocations: 0 / 0.7151 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/2.387, allocations: 111.4 kB / 0.7152 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000807/2.387, allocations: 134.6 kB / 0.7153 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/2.389, allocations: 0.7078 MB / 0.716 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/2.389, allocations: 0.8051 MB / 0.7168 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/2.389, allocations: 23.44 kB / 0.7168 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/2.389, allocations: 1.969 kB / 0.7168 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of Templates: time 0.04365/2.433, allocations: 26.21 MB / 0.7424 GB, free: 12.96 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: 11.506916248006746] Failed to read output from testmodel.py, exit status != 0: 2.6059640957973897 2.868105131 0.695712127 Calling exit ...