Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.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.8177/0.8177, allocations: 111.6 MB / 131 MB, free: 5.094 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.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 175.7 MB, free: 9.457 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.83e-05, allocations: 10.19 kB / 175.7 MB, free: 9.445 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.TestSteamEngine): time 1.718/1.718, allocations: 254.9 MB / 430.6 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0439/1.762, allocations: 28.03 MB / 458.7 MB, free: 3.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/1.762, allocations: 0 / 458.7 MB, free: 3.84 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:24:3-25:79: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/Machines/SteamEngine.mo:26:3-27:77:writable] Warning: Connector C2 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0005714/1.763, allocations: 183.1 kB / 458.8 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/1.763, allocations: 158.9 kB / 459 MB, free: 3.504 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/WaterSteam/IF97_packages.mo:964:9-964:35:writable] Warning: h 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.02612/1.789, allocations: 9.604 MB / 468.6 MB, free: 9.871 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007149/1.79, allocations: 461.8 kB / 469 MB, free: 9.418 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/1.79, allocations: 100.9 kB / 469.1 MB, free: 9.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/1.79, allocations: 267.2 kB / 469.4 MB, free: 9.059 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/1.791, allocations: 103.7 kB / 469.5 MB, free: 8.957 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/1.791, allocations: 20 kB / 469.5 MB, free: 8.938 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03668/1.827, allocations: 19.24 MB / 488.8 MB, free: 5.664 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/1.827, allocations: 55.77 kB / 488.8 MB, free: 5.609 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/1.828, allocations: 99.77 kB / 488.9 MB, free: 5.512 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.219/2.047, allocations: 11.31 MB / 0.4885 GB, free: 24.87 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/2.047, allocations: 2.297 kB / 0.4885 GB, free: 24.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.663e-06/2.047, allocations: 0 / 0.4885 GB, free: 24.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/2.047, allocations: 1.094 kB / 0.4885 GB, free: 24.87 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.007574/2.054, allocations: 1.495 MB / 0.49 GB, free: 23.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/2.054, allocations: 14.89 kB / 0.49 GB, free: 23.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/2.054, allocations: 51.7 kB / 0.49 GB, free: 23.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/2.055, allocations: 185.5 kB / 0.4902 GB, free: 23.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/2.055, allocations: 18.16 kB / 0.4902 GB, free: 23.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/2.055, allocations: 20.31 kB / 0.4903 GB, free: 23.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/2.055, allocations: 321.7 kB / 0.4906 GB, free: 23.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/2.055, allocations: 4.562 kB / 0.4906 GB, free: 23.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/2.055, allocations: 9.438 kB / 0.4906 GB, free: 23.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/2.055, allocations: 21.69 kB / 0.4906 GB, free: 23.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/2.056, allocations: 142.7 kB / 0.4907 GB, free: 23.68 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.01961/2.075, allocations: 6.422 MB / 0.497 GB, free: 22.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/2.075, allocations: 109.4 kB / 0.4971 GB, free: 22.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.562e-05/2.075, allocations: 73.69 kB / 0.4972 GB, free: 22.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1142/2.19, allocations: 33.1 MB / 0.5295 GB, free: 2.348 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/2.19, allocations: 33.39 kB / 0.5295 GB, free: 2.305 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 1.693e-06/2.19, allocations: 4 kB / 0.5295 GB, free: 2.301 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.001029/2.191, allocations: 427.8 kB / 0.5299 GB, free: 1.945 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/2.191, allocations: 51.41 kB / 0.53 GB, free: 1.883 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/2.191, allocations: 253.1 kB / 0.5302 GB, free: 1.648 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/2.191, allocations: 28.7 kB / 0.5303 GB, free: 1.617 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/2.191, allocations: 209.3 kB / 0.5305 GB, free: 1.426 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/2.191, allocations: 190.9 kB / 0.5306 GB, free: 1.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/2.191, allocations: 73.31 kB / 0.5307 GB, free: 1.211 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.941e-05/2.191, allocations: 0.5212 MB / 0.5312 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/2.191, allocations: 66.59 kB / 0.5313 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/2.191, allocations: 153.5 kB / 0.5314 GB, free: 0.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/2.192, allocations: 272.4 kB / 0.5317 GB, free: 284 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/2.192, allocations: 0 / 0.5317 GB, free: 284 kB / 442.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004095/2.192, allocations: 310.8 kB / 0.532 GB, free: 36 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/2.192, allocations: 11.94 kB / 0.532 GB, free: 24 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/2.192, allocations: 3.094 kB / 0.532 GB, free: 24 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003745/2.192, allocations: 116.9 kB / 0.5321 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/2.192, allocations: 12.17 kB / 0.5321 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007697/2.193, allocations: 0.8834 MB / 0.533 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/2.193, allocations: 31.67 kB / 0.533 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/2.193, allocations: 4 kB / 0.533 GB, free: 15 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,steamEngine1.C2.b,steamEngine1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001896/2.194, allocations: 191.4 kB / 0.5332 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/2.194, allocations: 25.77 kB / 0.5332 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/2.195, allocations: 0.8503 MB / 0.5341 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005643/2.195, allocations: 345.4 kB / 0.5344 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/2.195, allocations: 1 kB / 0.5344 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/2.195, allocations: 0 / 0.5344 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/2.197, allocations: 1.476 MB / 0.5358 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/2.197, allocations: 5.125 kB / 0.5358 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/2.198, allocations: 68.39 kB / 0.5359 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/2.198, allocations: 84.31 kB / 0.536 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/2.198, allocations: 15.69 kB / 0.536 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006846/2.199, allocations: 0.8746 MB / 0.5368 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/2.199, allocations: 4 kB / 0.5369 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/2.2, allocations: 0.7228 MB / 0.5376 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/2.2, allocations: 42.31 kB / 0.5376 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/2.2, allocations: 29.25 kB / 0.5376 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/2.2, allocations: 14.16 kB / 0.5376 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/2.2, allocations: 39.64 kB / 0.5377 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/2.2, allocations: 23.19 kB / 0.5377 GB, free: 10.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003163/2.2, allocations: 285.2 kB / 0.538 GB, free: 10.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/2.2, allocations: 0 / 0.538 GB, free: 10.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006249/2.207, allocations: 1.362 MB / 0.5393 GB, free: 9.141 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 Backend phase and start with SimCode phase: time 0.008755/2.215, allocations: 1.831 MB / 0.5411 GB, free: 7.547 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009079/2.216, allocations: 470 kB / 0.5415 GB, free: 7.156 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/2.216, allocations: 0 / 0.5415 GB, free: 7.156 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/2.217, allocations: 199.9 kB / 0.5417 GB, free: 7.012 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/2.218, allocations: 205.9 kB / 0.5419 GB, free: 6.852 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/2.22, allocations: 0.957 MB / 0.5429 GB, free: 5.879 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/2.22, allocations: 240.8 kB / 0.5431 GB, free: 5.621 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001351/2.22, allocations: 37.42 kB / 0.5431 GB, free: 5.586 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/2.22, allocations: 28.5 kB / 0.5432 GB, free: 5.559 MB / 458.7 MB Notification: Performance of SimCode: time 8.02e-07/2.22, allocations: 0 / 0.5432 GB, free: 5.559 MB / 458.7 MB Notification: Performance of Templates: time 0.08877/2.309, allocations: 53.93 MB / 0.5958 GB, free: 15.94 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.738234178046696]