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.5186/0.5186, allocations: 111.6 MB / 132.2 MB, free: 4.434 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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.414e-06/2.414e-06, allocations: 0 / 177.3 MB, free: 8.922 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.057e-05, allocations: 9.969 kB / 177.3 MB, free: 8.914 MB / 170.7 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.095/1.096, allocations: 257.1 MB / 434.4 MB, free: 15.95 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.02786/1.123, allocations: 32.74 MB / 467.1 MB, free: 15.08 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/1.123, allocations: 0 / 467.1 MB, free: 15.08 MB / 426.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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:19:3-20:80: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:24:3-25:81: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:26:3-27:79: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.0003796/1.124, allocations: 159.2 kB / 467.3 MB, free: 14.92 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/1.124, allocations: 179 kB / 467.5 MB, free: 14.75 MB / 426.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.01652/1.141, allocations: 9.943 MB / 477.4 MB, free: 4.766 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/1.141, allocations: 410.1 kB / 477.8 MB, free: 4.363 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/1.141, allocations: 116.8 kB / 477.9 MB, free: 4.25 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/1.141, allocations: 247.3 kB / 478.2 MB, free: 4.008 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/1.141, allocations: 139.7 kB / 478.3 MB, free: 3.871 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/1.142, allocations: 20 kB / 478.3 MB, free: 3.852 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01921/1.161, allocations: 16.83 MB / 495.2 MB, free: 2.992 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/1.161, allocations: 79.69 kB / 495.2 MB, free: 2.914 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/1.161, allocations: 107.7 kB / 495.3 MB, free: 2.809 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.1886/1.35, allocations: 10.81 MB / 0.4943 GB, free: 19.35 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.35, allocations: 0 / 0.4943 GB, free: 19.35 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.202e-06/1.35, allocations: 0 / 0.4943 GB, free: 19.35 MB / 442.8 MB Notification: Performance of Transformations before backend: time 7.434e-06/1.35, allocations: 0 / 0.4943 GB, free: 19.35 MB / 442.8 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.004751/1.354, allocations: 1.606 MB / 0.4959 GB, free: 18.36 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/1.354, allocations: 13.05 kB / 0.4959 GB, free: 18.36 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/1.354, allocations: 54.92 kB / 0.4959 GB, free: 18.34 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/1.355, allocations: 224.6 kB / 0.4961 GB, free: 18.17 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/1.355, allocations: 17.06 kB / 0.4962 GB, free: 18.17 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/1.355, allocations: 22 kB / 0.4962 GB, free: 18.17 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/1.355, allocations: 250 kB / 0.4964 GB, free: 18.04 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.355, allocations: 0 / 0.4964 GB, free: 18.04 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.355, allocations: 9.281 kB / 0.4964 GB, free: 18.04 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/1.355, allocations: 14.16 kB / 0.4964 GB, free: 18.04 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/1.355, allocations: 89.64 kB / 0.4965 GB, free: 18.04 MB / 442.8 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.01588/1.371, allocations: 9.703 MB / 0.506 GB, free: 16.57 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.247e-05/1.371, allocations: 70.11 kB / 0.5061 GB, free: 16.54 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/1.371, allocations: 34.86 kB / 0.5061 GB, free: 16.52 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06385/1.435, allocations: 37.88 MB / 0.5431 GB, free: 5.195 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.435, allocations: 44.02 kB / 0.5431 GB, free: 5.148 MB / 458.8 MB Notification: Performance of pre-optimization done (n=34): time 2.796e-06/1.435, allocations: 4 kB / 0.5431 GB, free: 5.145 MB / 458.8 MB Notification: Performance of matching and sorting (n=34): time 0.0006221/1.435, allocations: 252.8 kB / 0.5434 GB, free: 4.902 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/1.435, allocations: 55.16 kB / 0.5434 GB, free: 4.84 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/1.436, allocations: 324.6 kB / 0.5437 GB, free: 4.551 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/1.436, allocations: 27.33 kB / 0.5438 GB, free: 4.52 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/1.436, allocations: 249.2 kB / 0.544 GB, free: 4.316 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/1.436, allocations: 123.2 kB / 0.5441 GB, free: 4.211 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/1.436, allocations: 60.55 kB / 0.5442 GB, free: 4.16 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001293/1.436, allocations: 0.5247 MB / 0.5447 GB, free: 3.645 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/1.436, allocations: 27.98 kB / 0.5447 GB, free: 3.617 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/1.436, allocations: 94.95 kB / 0.5448 GB, free: 3.516 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/1.436, allocations: 138.1 kB / 0.5449 GB, free: 3.383 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.436, allocations: 0 / 0.5449 GB, free: 3.383 MB / 458.8 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002217/1.436, allocations: 218.9 kB / 0.5452 GB, free: 3.184 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.436, allocations: 8 kB / 0.5452 GB, free: 3.176 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.437, allocations: 0 / 0.5452 GB, free: 3.176 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003347/1.437, allocations: 90.5 kB / 0.5452 GB, free: 3.09 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.214e-05/1.437, allocations: 17.61 kB / 0.5453 GB, free: 3.074 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003612/1.437, allocations: 0.8491 MB / 0.5461 GB, free: 2.211 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.037e-05/1.437, allocations: 25.55 kB / 0.5461 GB, free: 2.188 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/1.437, allocations: 7.984 kB / 0.5461 GB, free: 2.18 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,ControlValve.C1.a,ControlValve.C2.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 9e-05/1.437, allocations: 164.5 kB / 0.5463 GB, free: 2.016 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/1.437, allocations: 34.59 kB / 0.5463 GB, free: 1.984 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004854/1.438, allocations: 0.6348 MB / 0.5469 GB, free: 1.387 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001696/1.438, allocations: 166.2 kB / 0.5471 GB, free: 1.234 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/1.438, allocations: 0 / 0.5471 GB, free: 1.234 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/1.438, allocations: 0 / 0.5471 GB, free: 1.234 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/1.439, allocations: 0.6187 MB / 0.5477 GB, free: 0.6797 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.439, allocations: 1.172 kB / 0.5477 GB, free: 0.6797 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/1.439, allocations: 19.84 kB / 0.5477 GB, free: 0.6641 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/1.439, allocations: 67.25 kB / 0.5478 GB, free: 0.5977 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/1.439, allocations: 3.125 kB / 0.5478 GB, free: 0.5977 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003283/1.439, allocations: 0.8645 MB / 0.5486 GB, free: 15.71 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.439, allocations: 0.875 kB / 0.5486 GB, free: 15.71 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/1.439, allocations: 349.1 kB / 0.549 GB, free: 15.38 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/1.439, allocations: 32.75 kB / 0.549 GB, free: 15.35 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/1.439, allocations: 15.83 kB / 0.549 GB, free: 15.34 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.189e-05/1.44, allocations: 0 / 0.549 GB, free: 15.34 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/1.44, allocations: 11.36 kB / 0.549 GB, free: 15.33 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/1.44, allocations: 5.312 kB / 0.549 GB, free: 15.32 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0001373/1.44, allocations: 270.5 kB / 0.5493 GB, free: 15.08 MB / 474.8 MB Notification: Performance of sort global known variables: time 8.1e-08/1.44, allocations: 1.203 kB / 0.5493 GB, free: 15.08 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.003122/1.443, allocations: 1.231 MB / 0.5505 GB, free: 13.93 MB / 474.8 MB 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.003953/1.447, allocations: 1.994 MB / 0.5524 GB, free: 12.22 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003295/1.447, allocations: 192.4 kB / 0.5526 GB, free: 12.05 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.447, allocations: 4 kB / 0.5526 GB, free: 12.05 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/1.447, allocations: 76.58 kB / 0.5527 GB, free: 11.97 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/1.448, allocations: 124 kB / 0.5528 GB, free: 11.88 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008921/1.449, allocations: 0.5939 MB / 0.5534 GB, free: 11.29 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.839e-05/1.449, allocations: 106.2 kB / 0.5535 GB, free: 11.17 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 7.271e-05/1.449, allocations: 28.62 kB / 0.5535 GB, free: 11.14 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/1.449, allocations: 146.2 kB / 0.5537 GB, free: 11 MB / 474.8 MB Notification: Performance of SimCode: time 6.52e-07/1.449, allocations: 0 / 0.5537 GB, free: 11 MB / 474.8 MB Notification: Performance of Templates: time 0.04755/1.496, allocations: 50.41 MB / 0.6029 GB, free: 8.949 MB / 0.5105 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.497924108989537]