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.9615/0.9615, allocations: 153.8 MB / 173.4 MB, free: 4.871 MB / 142.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.0005641/0.0005641, allocations: 19.97 kB / 251 MB, free: 3.855 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1686, allocations: 33.36 MB / 284.4 MB, free: 2.047 MB / 222.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.992/2.161, allocations: 307.7 MB / 0.5783 GB, free: 17.4 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02942/2.19, allocations: 25.91 MB / 0.6036 GB, free: 6.176 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/2.19, allocations: 2.781 kB / 0.6036 GB, free: 6.176 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.0006076/2.191, allocations: 170.4 kB / 0.6037 GB, free: 6.117 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004133/2.191, allocations: 169.2 kB / 0.6039 GB, free: 6.008 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.02321/2.214, allocations: 9.546 MB / 0.6132 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005582/2.215, allocations: 439 kB / 0.6136 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/2.215, allocations: 93.92 kB / 0.6137 GB, free: 464 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/2.215, allocations: 188 kB / 0.6139 GB, free: 348 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/2.216, allocations: 130.7 kB / 0.614 GB, free: 272 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/2.216, allocations: 17.97 kB / 0.614 GB, free: 272 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03679/2.252, allocations: 19.24 MB / 0.6328 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/2.252, allocations: 55.77 kB / 0.6329 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002492/2.253, allocations: 123.4 kB / 0.633 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01916/2.272, allocations: 8.613 MB / 0.6414 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/2.272, allocations: 0 / 0.6414 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/2.272, allocations: 0.7188 kB / 0.6414 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.316e-06/2.272, allocations: 0.75 kB / 0.6414 GB, free: 4.605 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.00425/2.276, allocations: 1.375 MB / 0.6428 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/2.276, allocations: 8.031 kB / 0.6428 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/2.276, allocations: 36.7 kB / 0.6428 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/2.276, allocations: 178 kB / 0.643 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/2.277, allocations: 27.78 kB / 0.643 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/2.277, allocations: 16 kB / 0.643 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/2.277, allocations: 357.1 kB / 0.6434 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/2.277, allocations: 4.781 kB / 0.6434 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/2.277, allocations: 12.62 kB / 0.6434 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/2.277, allocations: 21.86 kB / 0.6434 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/2.277, allocations: 216.6 kB / 0.6436 GB, free: 2.289 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.02012/2.298, allocations: 6.036 MB / 0.6495 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/2.298, allocations: 111 kB / 0.6496 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/2.298, allocations: 85.72 kB / 0.6497 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1218/2.42, allocations: 32.95 MB / 0.6819 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/2.42, allocations: 31.41 kB / 0.6819 GB, free: 10.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=52): time 2.124e-06/2.42, allocations: 0 / 0.6819 GB, free: 10.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.001161/2.421, allocations: 448.7 kB / 0.6823 GB, free: 10.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/2.421, allocations: 55.41 kB / 0.6824 GB, free: 10.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/2.421, allocations: 166.1 kB / 0.6825 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/2.421, allocations: 29.7 kB / 0.6826 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/2.421, allocations: 160.9 kB / 0.6827 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/2.421, allocations: 182.4 kB / 0.6829 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/2.422, allocations: 51.48 kB / 0.6829 GB, free: 9.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001762/2.422, allocations: 338.8 kB / 0.6833 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/2.422, allocations: 84.47 kB / 0.6833 GB, free: 9.418 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/2.422, allocations: 151.1 kB / 0.6835 GB, free: 9.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/2.422, allocations: 277.3 kB / 0.6838 GB, free: 8.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/2.422, allocations: 4 kB / 0.6838 GB, free: 8.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005379/2.423, allocations: 329.2 kB / 0.6841 GB, free: 8.633 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/2.423, allocations: 4 kB / 0.6841 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/2.423, allocations: 4 kB / 0.6841 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003003/2.423, allocations: 114.1 kB / 0.6842 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/2.423, allocations: 15.98 kB / 0.6842 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005655/2.424, allocations: 0.6071 MB / 0.6848 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/2.424, allocations: 32.23 kB / 0.6848 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/2.424, allocations: 11.98 kB / 0.6848 GB, free: 7.82 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.0001623/2.424, allocations: 141.8 kB / 0.685 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/2.424, allocations: 19.86 kB / 0.685 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/2.425, allocations: 0.8053 MB / 0.6858 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005707/2.426, allocations: 389 kB / 0.6861 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/2.426, allocations: 4.062 kB / 0.6862 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/2.426, allocations: 3.984 kB / 0.6862 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/2.428, allocations: 1.323 MB / 0.6874 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/2.428, allocations: 4 kB / 0.6875 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/2.428, allocations: 72.73 kB / 0.6875 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/2.428, allocations: 88.78 kB / 0.6876 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/2.428, allocations: 17.22 kB / 0.6876 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005235/2.429, allocations: 0.6348 MB / 0.6882 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/2.429, allocations: 15.88 kB / 0.6883 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008048/2.43, allocations: 0.6315 MB / 0.6889 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/2.43, allocations: 43.69 kB / 0.6889 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/2.43, allocations: 32.69 kB / 0.6889 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/2.43, allocations: 12 kB / 0.689 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/2.43, allocations: 43.89 kB / 0.689 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/2.43, allocations: 20 kB / 0.689 GB, free: 3.262 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002824/2.43, allocations: 245.2 kB / 0.6893 GB, free: 3.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/2.43, allocations: 0 / 0.6893 GB, free: 3.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00348/2.434, allocations: 1.36 MB / 0.6906 GB, free: 1.66 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.005821/2.44, allocations: 1.637 MB / 0.6922 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008395/2.44, allocations: 464 kB / 0.6926 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/2.44, allocations: 7.938 kB / 0.6926 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/2.441, allocations: 185.2 kB / 0.6928 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/2.442, allocations: 188.4 kB / 0.693 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/2.443, allocations: 0.9805 MB / 0.6939 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/2.444, allocations: 244.8 kB / 0.6942 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/2.444, allocations: 31.44 kB / 0.6942 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/2.444, allocations: 0 / 0.6942 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of Templates: time 0.04492/2.489, allocations: 29.74 MB / 0.7232 GB, free: 440 kB / 0.5762 GB " [Timeout remaining time 657] 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.262421099003404] Failed to read output from testmodel.py, exit status != 0: 2.6530797788873315 2.667257736 0.39217147499999994 Calling exit ...