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.8638/0.8638, allocations: 120.4 MB / 140.1 MB, free: 40 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.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 0.0005525/0.0005525, allocations: 21.72 kB / 217.7 MB, free: 13.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05899/0.05954, allocations: 33.37 MB / 251.1 MB, free: 13.28 MB / 238.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.TestSteamEngine): time 1.804/1.863, allocations: 254.2 MB / 0.4934 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03711/1.901, allocations: 25.91 MB / 0.5187 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/1.901, allocations: 0.7188 kB / 0.5187 GB, free: 10.75 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:35:3-37:17: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:38:3-39:44: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: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/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). Notification: Performance of NFTyping.typeComponents: time 0.0005953/1.901, allocations: 181.2 kB / 0.5189 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/1.902, allocations: 155.9 kB / 0.5191 GB, free: 10.42 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/WaterSteam/IF97_packages.mo:1445:9-1445: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.02749/1.929, allocations: 9.556 MB / 0.5284 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006993/1.93, allocations: 442 kB / 0.5288 GB, free: 488 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/1.93, allocations: 97.88 kB / 0.5289 GB, free: 392 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/1.93, allocations: 183.3 kB / 0.5291 GB, free: 208 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/1.93, allocations: 128.7 kB / 0.5292 GB, free: 80 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/1.93, allocations: 23.94 kB / 0.5292 GB, free: 56 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03729/1.968, allocations: 19.25 MB / 0.548 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/1.968, allocations: 60.55 kB / 0.5481 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/1.968, allocations: 115.4 kB / 0.5482 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0204/1.989, allocations: 8.602 MB / 0.5566 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/1.989, allocations: 7.922 kB / 0.5566 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.675e-06/1.989, allocations: 0.6875 kB / 0.5566 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.16e-05/1.989, allocations: 1.781 kB / 0.5566 GB, free: 4.012 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.00439/1.993, allocations: 1.373 MB / 0.558 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.993, allocations: 8.031 kB / 0.558 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/1.993, allocations: 42.91 kB / 0.558 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/1.993, allocations: 182 kB / 0.5582 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/1.993, allocations: 20.62 kB / 0.5582 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/1.993, allocations: 16 kB / 0.5582 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/1.994, allocations: 353.5 kB / 0.5585 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.994, allocations: 0 / 0.5585 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/1.994, allocations: 14.69 kB / 0.5586 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/1.994, allocations: 19.97 kB / 0.5586 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/1.994, allocations: 220.6 kB / 0.5588 GB, free: 1.695 MB / 0.4981 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.0207/2.015, allocations: 6.032 MB / 0.5647 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/2.015, allocations: 116.2 kB / 0.5648 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/2.015, allocations: 85.83 kB / 0.5649 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1264/2.142, allocations: 32.96 MB / 0.5971 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/2.142, allocations: 42.55 kB / 0.5971 GB, free: 10.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=52): time 2.164e-06/2.142, allocations: 0 / 0.5971 GB, free: 10.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.001184/2.143, allocations: 446.2 kB / 0.5975 GB, free: 9.938 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/2.143, allocations: 55.41 kB / 0.5976 GB, free: 9.871 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/2.143, allocations: 166.2 kB / 0.5977 GB, free: 9.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/2.143, allocations: 25.7 kB / 0.5978 GB, free: 9.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/2.143, allocations: 164.9 kB / 0.5979 GB, free: 9.504 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/2.144, allocations: 166.5 kB / 0.5981 GB, free: 9.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/2.144, allocations: 57.64 kB / 0.5981 GB, free: 9.277 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001679/2.144, allocations: 334.8 kB / 0.5984 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/2.144, allocations: 88.5 kB / 0.5985 GB, free: 8.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/2.144, allocations: 158 kB / 0.5987 GB, free: 8.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/2.145, allocations: 269.8 kB / 0.5989 GB, free: 8.398 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/2.145, allocations: 0 / 0.5989 GB, free: 8.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00057/2.145, allocations: 334.6 kB / 0.5993 GB, free: 8.062 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/2.145, allocations: 11.94 kB / 0.5993 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/2.145, allocations: 192 / 0.5993 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/2.146, allocations: 114.1 kB / 0.5994 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/2.146, allocations: 11.94 kB / 0.5994 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005863/2.146, allocations: 0.6073 MB / 0.6 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/2.146, allocations: 31.67 kB / 0.6 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/2.146, allocations: 8 kB / 0.6 GB, free: 7.258 MB / 0.545 GB 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.0001893/2.147, allocations: 152.2 kB / 0.6002 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/2.147, allocations: 19.92 kB / 0.6002 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/2.148, allocations: 0.8023 MB / 0.601 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005783/2.148, allocations: 383.2 kB / 0.6013 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/2.148, allocations: 0 / 0.6013 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/2.148, allocations: 3.984 kB / 0.6013 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/2.15, allocations: 1.328 MB / 0.6026 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.515e-06/2.15, allocations: 8.594 kB / 0.6026 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/2.15, allocations: 75.84 kB / 0.6027 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/2.151, allocations: 88.8 kB / 0.6028 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/2.151, allocations: 16 kB / 0.6028 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005678/2.151, allocations: 0.6265 MB / 0.6034 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/2.151, allocations: 11.94 kB / 0.6034 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008415/2.152, allocations: 0.641 MB / 0.6041 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/2.152, allocations: 39.69 kB / 0.6041 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/2.152, allocations: 31.91 kB / 0.6041 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/2.152, allocations: 15.94 kB / 0.6041 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/2.152, allocations: 43.83 kB / 0.6042 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/2.152, allocations: 20 kB / 0.6042 GB, free: 2.691 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002837/2.153, allocations: 245.2 kB / 0.6044 GB, free: 2.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/2.153, allocations: 0 / 0.6044 GB, free: 2.453 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003671/2.156, allocations: 1.364 MB / 0.6058 GB, free: 1.086 MB / 0.545 GB 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.007476/2.164, allocations: 1.651 MB / 0.6074 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009715/2.165, allocations: 448.8 kB / 0.6078 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/2.165, allocations: 4.375 kB / 0.6078 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003363/2.165, allocations: 187.6 kB / 0.608 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/2.166, allocations: 186 kB / 0.6082 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/2.168, allocations: 0.9447 MB / 0.6091 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/2.168, allocations: 240.8 kB / 0.6093 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001474/2.168, allocations: 37.42 kB / 0.6094 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/2.168, allocations: 28.5 kB / 0.6094 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/2.168, allocations: 0 / 0.6094 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.08328/2.252, allocations: 52.7 MB / 0.6609 GB, free: 8.828 MB / 0.6075 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=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.925655677099712] Failed to read output from testmodel.py, exit status != 0: 2.409701870987192 2.628135613 0.637089735 Calling exit ...