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.861/0.861, allocations: 120.4 MB / 139.5 MB, free: 480 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 2.354e-06/2.354e-06, allocations: 0 / 217.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3.018e-05, allocations: 7.531 kB / 217.2 MB, free: 13.72 MB / 206.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.528/1.528, allocations: 254.3 MB / 471.6 MB, free: 10.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2467/1.774, allocations: 30.82 MB / 0.4906 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/1.774, allocations: 2.469 kB / 0.4906 GB, free: 7.688 MB / 446.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.0004781/1.775, allocations: 160.5 kB / 0.4908 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/1.775, allocations: 177.6 kB / 0.4909 GB, free: 7.465 MB / 446.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.02754/1.803, allocations: 9.933 MB / 0.5006 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006311/1.803, allocations: 403 kB / 0.501 GB, free: 268 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/1.804, allocations: 110.1 kB / 0.5011 GB, free: 164 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/1.804, allocations: 244.7 kB / 0.5014 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/1.804, allocations: 143.7 kB / 0.5015 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/1.804, allocations: 20.56 kB / 0.5015 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03202/1.836, allocations: 16.86 MB / 0.518 GB, free: 14.9 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/1.836, allocations: 83.67 kB / 0.5181 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/1.837, allocations: 97.2 kB / 0.5182 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0249/1.862, allocations: 10.92 MB / 0.5288 GB, free: 3.781 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/1.862, allocations: 0 / 0.5288 GB, free: 3.781 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.887e-06/1.862, allocations: 0 / 0.5288 GB, free: 3.781 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/1.862, allocations: 2.344 kB / 0.5288 GB, free: 3.781 MB / 478.1 MB 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.004934/1.867, allocations: 1.5 MB / 0.5303 GB, free: 2.242 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.867, allocations: 8.031 kB / 0.5303 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/1.867, allocations: 44.53 kB / 0.5303 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/1.867, allocations: 228 kB / 0.5306 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/1.867, allocations: 16.5 kB / 0.5306 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/1.867, allocations: 24.69 kB / 0.5306 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/1.868, allocations: 327.1 kB / 0.5309 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/1.868, allocations: 4.656 kB / 0.5309 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/1.868, allocations: 8 kB / 0.5309 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/1.868, allocations: 19.92 kB / 0.5309 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/1.868, allocations: 205.1 kB / 0.5311 GB, free: 1.332 MB / 478.1 MB 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.03892/1.907, allocations: 10.87 MB / 0.5417 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/1.907, allocations: 130.4 kB / 0.5419 GB, free: 6.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/1.907, allocations: 88.83 kB / 0.542 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1596/2.067, allocations: 43.57 MB / 0.5845 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/2.067, allocations: 34.56 kB / 0.5845 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.295e-06/2.067, allocations: 0 / 0.5845 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.00121/2.068, allocations: 423.4 kB / 0.5849 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/2.068, allocations: 59.34 kB / 0.585 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/2.069, allocations: 316.2 kB / 0.5853 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/2.069, allocations: 26.36 kB / 0.5853 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/2.069, allocations: 192.5 kB / 0.5855 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/2.069, allocations: 115 kB / 0.5856 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/2.069, allocations: 53.64 kB / 0.5857 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000182/2.069, allocations: 342.8 kB / 0.586 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/2.069, allocations: 95.95 kB / 0.5861 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/2.07, allocations: 136.2 kB / 0.5862 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/2.07, allocations: 257.7 kB / 0.5865 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/2.07, allocations: 0 / 0.5865 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005468/2.071, allocations: 333.9 kB / 0.5868 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/2.071, allocations: 9.344 kB / 0.5868 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/2.071, allocations: 5 kB / 0.5868 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008776/2.071, allocations: 145.9 kB / 0.5869 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/2.071, allocations: 12 kB / 0.5869 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006419/2.072, allocations: 0.6069 MB / 0.5875 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/2.072, allocations: 24.56 kB / 0.5876 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/2.072, allocations: 12.81 kB / 0.5876 GB, free: 7.402 MB / 0.5294 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.0001874/2.072, allocations: 157.7 kB / 0.5877 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/2.073, allocations: 32.38 kB / 0.5877 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009655/2.074, allocations: 0.6366 MB / 0.5884 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004976/2.074, allocations: 257.4 kB / 0.5886 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/2.074, allocations: 0 / 0.5886 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/2.074, allocations: 8.969 kB / 0.5886 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/2.075, allocations: 0.717 MB / 0.5893 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/2.075, allocations: 0.75 kB / 0.5893 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/2.075, allocations: 21 kB / 0.5893 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003908/2.076, allocations: 100.8 kB / 0.5894 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/2.076, allocations: 4 kB / 0.5894 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006102/2.076, allocations: 0.6436 MB / 0.5901 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/2.076, allocations: 4.562 kB / 0.5901 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/2.077, allocations: 372.7 kB / 0.5904 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/2.077, allocations: 43.72 kB / 0.5905 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/2.077, allocations: 19.7 kB / 0.5905 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/2.077, allocations: 7.875 kB / 0.5905 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/2.077, allocations: 12.05 kB / 0.5905 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/2.077, allocations: 8 kB / 0.5905 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003833/2.078, allocations: 303.1 kB / 0.5908 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/2.078, allocations: 4 kB / 0.5908 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003101/2.081, allocations: 1.224 MB / 0.592 GB, free: 2.684 MB / 0.5294 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.006126/2.087, allocations: 1.925 MB / 0.5939 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007456/2.088, allocations: 262 kB / 0.5941 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/2.088, allocations: 0 / 0.5941 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/2.088, allocations: 120 kB / 0.5943 GB, free: 404 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007852/2.089, allocations: 111.2 kB / 0.5944 GB, free: 296 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/2.09, allocations: 0.6383 MB / 0.595 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/2.09, allocations: 196.8 kB / 0.5952 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.856e-05/2.09, allocations: 27.14 kB / 0.5952 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/2.09, allocations: 24.5 kB / 0.5952 GB, free: 15.36 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/2.09, allocations: 0 / 0.5952 GB, free: 15.36 MB / 0.545 GB Notification: Performance of Templates: time 0.06583/2.156, allocations: 42.67 MB / 0.6369 GB, free: 4.934 MB / 0.5762 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.248068865388632] Failed to read output from testmodel.py, exit status != 0: 2.5126851312816143 2.522261902 0.6582434490000001 Calling exit ...