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.8658/0.8658, allocations: 153.8 MB / 173.4 MB, free: 4.879 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.0005504/0.0005504, allocations: 15.98 kB / 251 MB, free: 3.879 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1581, allocations: 33.35 MB / 284.4 MB, free: 2.07 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.885/2.043, allocations: 307.6 MB / 0.5782 GB, free: 17.26 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03519/2.078, allocations: 30.81 MB / 0.6082 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/2.078, allocations: 2.75 kB / 0.6082 GB, free: 2.434 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.0005114/2.079, allocations: 150.8 kB / 0.6084 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/2.079, allocations: 173.6 kB / 0.6086 GB, free: 2.301 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.02566/2.105, allocations: 9.837 MB / 0.6182 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006999/2.106, allocations: 402.2 kB / 0.6185 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/2.106, allocations: 113.5 kB / 0.6186 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/2.106, allocations: 176.1 kB / 0.6188 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/2.106, allocations: 167.3 kB / 0.619 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/2.107, allocations: 18.56 kB / 0.619 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03327/2.14, allocations: 16.84 MB / 0.6354 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/2.14, allocations: 75.7 kB / 0.6355 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/2.14, allocations: 127.3 kB / 0.6356 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02012/2.16, allocations: 8.552 MB / 0.644 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/2.16, allocations: 4 kB / 0.644 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.225e-06/2.16, allocations: 0 / 0.644 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.997e-06/2.16, allocations: 0 / 0.644 GB, free: 1.598 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.004172/2.164, allocations: 1.504 MB / 0.6455 GB, free: 56 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/2.164, allocations: 8.781 kB / 0.6455 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/2.165, allocations: 41.09 kB / 0.6455 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/2.165, allocations: 237.3 kB / 0.6457 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/2.165, allocations: 16.38 kB / 0.6457 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/2.165, allocations: 20 kB / 0.6458 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/2.165, allocations: 323.4 kB / 0.6461 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/2.165, allocations: 3.938 kB / 0.6461 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/2.166, allocations: 12 kB / 0.6461 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/2.166, allocations: 12.92 kB / 0.6461 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/2.166, allocations: 209.2 kB / 0.6463 GB, free: 15.14 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.03853/2.204, allocations: 10.87 MB / 0.6569 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/2.205, allocations: 130.5 kB / 0.657 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/2.205, allocations: 84.83 kB / 0.6571 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1585/2.363, allocations: 43.59 MB / 0.6997 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/2.363, allocations: 30.56 kB / 0.6997 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/2.363, allocations: 0 / 0.6997 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001156/2.364, allocations: 428.3 kB / 0.7001 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/2.364, allocations: 51.41 kB / 0.7002 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/2.365, allocations: 317 kB / 0.7005 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/2.365, allocations: 25.7 kB / 0.7005 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/2.365, allocations: 196.5 kB / 0.7007 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/2.365, allocations: 115 kB / 0.7008 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/2.365, allocations: 57.69 kB / 0.7009 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001607/2.365, allocations: 338.8 kB / 0.7012 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/2.365, allocations: 91.97 kB / 0.7013 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/2.366, allocations: 141.3 kB / 0.7014 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/2.366, allocations: 248.8 kB / 0.7016 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/2.366, allocations: 4 kB / 0.7016 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005229/2.367, allocations: 346.6 kB / 0.702 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/2.367, allocations: 12.06 kB / 0.702 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/2.367, allocations: 4 kB / 0.702 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008327/2.367, allocations: 133.4 kB / 0.7021 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/2.367, allocations: 17.7 kB / 0.7021 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000622/2.368, allocations: 0.6109 MB / 0.7027 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/2.368, allocations: 24.47 kB / 0.7028 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/2.368, allocations: 4 kB / 0.7028 GB, free: 5.098 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.0001811/2.368, allocations: 165.7 kB / 0.7029 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/2.368, allocations: 27.81 kB / 0.7029 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009148/2.369, allocations: 0.6339 MB / 0.7036 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004645/2.37, allocations: 262.3 kB / 0.7038 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/2.37, allocations: 0 / 0.7038 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/2.37, allocations: 3.984 kB / 0.7038 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/2.371, allocations: 0.7139 MB / 0.7045 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/2.371, allocations: 0 / 0.7045 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/2.371, allocations: 24 kB / 0.7045 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003616/2.371, allocations: 102.8 kB / 0.7046 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/2.371, allocations: 0 / 0.7046 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005927/2.372, allocations: 0.6506 MB / 0.7053 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/2.372, allocations: 0 / 0.7053 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/2.373, allocations: 385.8 kB / 0.7056 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/2.373, allocations: 47.67 kB / 0.7057 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/2.373, allocations: 11.94 kB / 0.7057 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/2.373, allocations: 4 kB / 0.7057 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/2.373, allocations: 11.92 kB / 0.7057 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/2.373, allocations: 4.75 kB / 0.7057 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003549/2.373, allocations: 303.1 kB / 0.706 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.373, allocations: 0 / 0.706 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003063/2.376, allocations: 1.231 MB / 0.7072 GB, free: 372 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.005083/2.381, allocations: 1.755 MB / 0.7089 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007385/2.382, allocations: 267.8 kB / 0.7092 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/2.382, allocations: 4 kB / 0.7092 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/2.382, allocations: 99.89 kB / 0.7093 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/2.383, allocations: 122 kB / 0.7094 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/2.384, allocations: 0.6979 MB / 0.7101 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/2.385, allocations: 200.7 kB / 0.7103 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/2.385, allocations: 23.44 kB / 0.7103 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/2.385, allocations: 0 / 0.7103 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of Templates: time 0.04123/2.426, allocations: 26.07 MB / 0.7357 GB, free: 3.523 MB / 0.5919 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.178026122041047] Failed to read output from testmodel.py, exit status != 0: 2.59997638175264 2.834807522 0.45111628000000004 Calling exit ...