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.783/0.783, allocations: 111.6 MB / 131 MB, free: 5.066 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 1.674e-06/1.674e-06, allocations: 0 / 175.7 MB, free: 9.469 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.611e-05, allocations: 8.984 kB / 175.7 MB, free: 9.461 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.635/1.635, allocations: 254.6 MB / 430.3 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04799/1.683, allocations: 30.85 MB / 461.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/1.683, allocations: 4 kB / 461.2 MB, free: 1.562 MB / 410.7 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.0005197/1.684, allocations: 151.3 kB / 461.3 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/1.684, allocations: 178.9 kB / 461.5 MB, free: 1.238 MB / 410.7 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.02721/1.711, allocations: 9.931 MB / 471.4 MB, free: 7.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007076/1.712, allocations: 410.1 kB / 471.8 MB, free: 6.867 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/1.712, allocations: 120.8 kB / 471.9 MB, free: 6.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/1.713, allocations: 243.3 kB / 472.2 MB, free: 6.512 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/1.713, allocations: 147.6 kB / 472.3 MB, free: 6.367 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/1.713, allocations: 16 kB / 472.3 MB, free: 6.352 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.033/1.746, allocations: 16.84 MB / 489.2 MB, free: 5.48 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/1.746, allocations: 75.7 kB / 489.3 MB, free: 5.406 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/1.746, allocations: 99.7 kB / 489.4 MB, free: 5.309 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1998/1.946, allocations: 10.91 MB / 0.4885 GB, free: 22.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.946, allocations: 0 / 0.4885 GB, free: 22.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.413e-06/1.946, allocations: 1.469 kB / 0.4885 GB, free: 22.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/1.946, allocations: 1.25 kB / 0.4885 GB, free: 22.34 MB / 442.7 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.006242/1.952, allocations: 1.497 MB / 0.49 GB, free: 21.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/1.952, allocations: 14.3 kB / 0.49 GB, free: 21.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/1.952, allocations: 50.89 kB / 0.4901 GB, free: 21.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/1.953, allocations: 237 kB / 0.4903 GB, free: 21.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/1.953, allocations: 18.42 kB / 0.4903 GB, free: 21.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/1.953, allocations: 18.97 kB / 0.4903 GB, free: 21.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/1.953, allocations: 328.7 kB / 0.4906 GB, free: 21.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.953, allocations: 0 / 0.4906 GB, free: 21.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/1.953, allocations: 5.969 kB / 0.4906 GB, free: 21.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/1.953, allocations: 21.33 kB / 0.4907 GB, free: 21.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/1.954, allocations: 207.8 kB / 0.4909 GB, free: 21.19 MB / 442.7 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.03425/1.988, allocations: 10.89 MB / 0.5015 GB, free: 19.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/1.988, allocations: 122.6 kB / 0.5016 GB, free: 19.87 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/1.988, allocations: 94.39 kB / 0.5017 GB, free: 19.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1481/2.136, allocations: 43.63 MB / 0.5443 GB, free: 1.441 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/2.136, allocations: 40.47 kB / 0.5444 GB, free: 1.398 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/2.136, allocations: 0.5469 kB / 0.5444 GB, free: 1.398 MB / 458.7 MB Notification: Performance of matching and sorting (n=34): time 0.001254/2.137, allocations: 424 kB / 0.5448 GB, free: 1.082 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/2.138, allocations: 55.41 kB / 0.5448 GB, free: 1.016 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/2.138, allocations: 318.6 kB / 0.5451 GB, free: 0.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/2.138, allocations: 30.47 kB / 0.5451 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/2.138, allocations: 191.8 kB / 0.5453 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/2.138, allocations: 117.3 kB / 0.5454 GB, free: 472 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/2.138, allocations: 44.45 kB / 0.5455 GB, free: 432 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/2.139, allocations: 349.7 kB / 0.5458 GB, free: 88 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/2.139, allocations: 95.38 kB / 0.5459 GB, free: 28 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/2.139, allocations: 138.9 kB / 0.546 GB, free: 15.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/2.139, allocations: 255.9 kB / 0.5463 GB, free: 15.74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.139, allocations: 3.984 kB / 0.5463 GB, free: 15.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005448/2.14, allocations: 338 kB / 0.5466 GB, free: 15.49 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/2.14, allocations: 4 kB / 0.5466 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/2.14, allocations: 0 / 0.5466 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008981/2.141, allocations: 137.9 kB / 0.5467 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/2.141, allocations: 15.66 kB / 0.5468 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007014/2.141, allocations: 0.6122 MB / 0.5474 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/2.142, allocations: 29.94 kB / 0.5474 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/2.142, allocations: 4 kB / 0.5474 GB, free: 14.72 MB / 474.7 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 (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.0001832/2.142, allocations: 158.8 kB / 0.5475 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/2.142, allocations: 32.81 kB / 0.5476 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009906/2.143, allocations: 0.6456 MB / 0.5482 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000507/2.143, allocations: 259.1 kB / 0.5484 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/2.143, allocations: 4 kB / 0.5484 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/2.143, allocations: 0 / 0.5484 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/2.145, allocations: 0.7193 MB / 0.5492 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/2.145, allocations: 0 / 0.5492 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/2.145, allocations: 21.11 kB / 0.5492 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004037/2.145, allocations: 114.7 kB / 0.5493 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/2.145, allocations: 5.938 kB / 0.5493 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007762/2.146, allocations: 0.6404 MB / 0.5499 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/2.146, allocations: 4 kB / 0.5499 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/2.146, allocations: 380.1 kB / 0.5503 GB, free: 12.13 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/2.147, allocations: 41.05 kB / 0.5503 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/2.147, allocations: 13.64 kB / 0.5503 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/2.147, allocations: 6.625 kB / 0.5503 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/2.147, allocations: 13.97 kB / 0.5504 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/2.147, allocations: 6.125 kB / 0.5504 GB, free: 12.06 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003843/2.147, allocations: 302.5 kB / 0.5506 GB, free: 11.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/2.147, allocations: 0 / 0.5506 GB, free: 11.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005021/2.152, allocations: 1.225 MB / 0.5518 GB, free: 10.68 MB / 474.7 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.006885/2.159, allocations: 1.918 MB / 0.5537 GB, free: 9.055 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007493/2.16, allocations: 260.8 kB / 0.554 GB, free: 8.855 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/2.16, allocations: 0 / 0.554 GB, free: 8.855 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/2.16, allocations: 113.5 kB / 0.5541 GB, free: 8.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000777/2.161, allocations: 121.7 kB / 0.5542 GB, free: 8.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/2.162, allocations: 0.6447 MB / 0.5548 GB, free: 8.051 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/2.162, allocations: 205.3 kB / 0.555 GB, free: 7.836 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.813e-05/2.163, allocations: 28.25 kB / 0.555 GB, free: 7.809 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/2.163, allocations: 20.5 kB / 0.5551 GB, free: 7.785 MB / 474.7 MB Notification: Performance of SimCode: time 6.01e-07/2.163, allocations: 0 / 0.5551 GB, free: 7.785 MB / 474.7 MB Notification: Performance of Templates: time 0.06989/2.232, allocations: 42.84 MB / 0.5969 GB, free: 13.15 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.115190353011712]