Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 79.12 kB / 21.28 MB, free: 380 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 163.4 kB / 24.54 MB, free: 3.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 177.2 MB / 204.9 MB, free: 9.258 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1395/0.1395, allocations: 19.7 MB / 281 MB, free: 13.04 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS") translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.89 kB / 417.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.306, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS): time 0.5536/0.8596, allocations: 227.1 MB / 0.6887 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01969/0.8793, allocations: 16.02 MB / 0.7043 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.8812, allocations: 44.91 kB / 0.7044 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.8841, allocations: 0.9791 MB / 0.7053 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004997/0.8891, allocations: 1.592 MB / 0.7069 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01986/0.909, allocations: 7.689 MB / 0.7144 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01189/0.9208, allocations: 12.8 MB / 0.7269 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005873/0.9267, allocations: 3.438 MB / 0.7302 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0132/0.9399, allocations: 5.948 MB / 0.7361 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008236/0.9482, allocations: 4.357 MB / 0.7403 GB, free: 6.578 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002698/0.9509, allocations: 1.107 MB / 0.7414 GB, free: 6.578 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02116/0.972, allocations: 8.374 MB / 0.7496 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.005522/0.9775, allocations: 3.472 MB / 0.753 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009603/0.9871, allocations: 3.672 MB / 0.7565 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02947/1.017, allocations: 18.02 MB / 0.7741 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.017, allocations: 4 kB / 0.7741 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/1.017, allocations: 0 / 0.7741 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003367/1.017, allocations: 0 / 0.7741 GB, free: 5.875 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.02986/1.047, allocations: 7.868 MB / 0.7818 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/1.047, allocations: 12.03 kB / 0.7818 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/1.062, allocations: 2.471 MB / 0.7843 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/1.074, allocations: 3.944 MB / 0.7881 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006504/1.075, allocations: 477.2 kB / 0.7886 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003834/1.079, allocations: 0.7143 MB / 0.7893 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04209/1.121, allocations: 15.63 MB / 0.8045 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/1.121, allocations: 7.875 kB / 0.8045 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003186/1.124, allocations: 232.7 kB / 0.8047 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006389/1.125, allocations: 431.2 kB / 0.8052 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0383/1.163, allocations: 15.83 MB / 0.8206 GB, free: 5.949 MB / 0.6231 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.07881/1.242, allocations: 30.74 MB / 0.8506 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03353/1.276, allocations: 12.54 MB / 0.8629 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01018/1.286, allocations: 4.72 MB / 0.8675 GB, free: 6.973 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4561/1.742, allocations: 44.19 MB / 0.9106 GB, free: 145.1 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/1.742, allocations: 109.9 kB / 0.9107 GB, free: 145 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=604): time 1.008e-05/1.742, allocations: 0 / 0.9107 GB, free: 145 MB / 0.7012 GB Notification: Performance of matching and sorting (n=605): time 0.09977/1.842, allocations: 37.46 MB / 0.9473 GB, free: 143.3 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/1.842, allocations: 148.2 kB / 0.9475 GB, free: 143.2 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/1.844, allocations: 1.383 MB / 0.9488 GB, free: 143.1 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001623/1.845, allocations: 138.2 kB / 0.949 GB, free: 143 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008728/1.846, allocations: 1.611 MB / 0.9505 GB, free: 142.4 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002941/1.849, allocations: 2.205 MB / 0.9527 GB, free: 141.2 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003157/1.852, allocations: 1.286 MB / 0.9539 GB, free: 141.2 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 3.817e-05/1.852, allocations: 304.2 kB / 0.9542 GB, free: 140.9 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007696/1.86, allocations: 5.705 MB / 0.9598 GB, free: 139 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008428/1.868, allocations: 6.368 MB / 0.966 GB, free: 136 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01769/1.886, allocations: 12.37 MB / 0.9781 GB, free: 128.1 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.073e-05/1.886, allocations: 0 / 0.9781 GB, free: 128.1 MB / 0.7012 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.03791/1.924, allocations: 18.81 MB / 0.9965 GB, free: 110.6 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/1.924, allocations: 8.938 kB / 0.9965 GB, free: 110.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/1.924, allocations: 12.86 kB / 0.9965 GB, free: 110.6 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1305/2.055, allocations: 31.25 MB / 1.027 GB, free: 79.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/2.057, allocations: 423.2 kB / 1.027 GB, free: 79.06 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03763/2.094, allocations: 24.34 MB / 1.051 GB, free: 54.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006312/2.101, allocations: 315.8 kB / 1.051 GB, free: 54.3 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001896/2.102, allocations: 356.6 kB / 1.052 GB, free: 53.96 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01261/2.115, allocations: 7.31 MB / 1.059 GB, free: 46.64 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00987/2.125, allocations: 6.301 MB / 1.065 GB, free: 40.17 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0187/2.144, allocations: 12.23 MB / 1.077 GB, free: 27.78 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.129e-05/2.144, allocations: 4 kB / 1.077 GB, free: 27.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.03217/2.176, allocations: 18.18 MB / 1.095 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/2.176, allocations: 8 kB / 1.095 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/2.176, allocations: 8 kB / 1.095 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1071/2.283, allocations: 24.41 MB / 1.119 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002705/2.286, allocations: 491.7 kB / 1.119 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04932/2.335, allocations: 23.73 MB / 1.142 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006536/2.342, allocations: 312.6 kB / 1.143 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001982/2.344, allocations: 359.7 kB / 1.143 GB, free: 8.215 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 15 (Plant.Boiler.WaterSide.fluidState[11].phase,Plant.Boiler.WaterSide.fluidState[10].phase,Plant.Boiler.WaterSide.fluidState[9].phase,Plant.Boiler.WaterSide.fluidState[8].phase,Plant.Boiler.WaterSide.fluidState[7].phase,Plant.Boiler.WaterSide.fluidState[6].phase,Plant.Boiler.WaterSide.fluidState[5].phase,Plant.Boiler.WaterSide.fluidState[4].phase,Plant.Boiler.WaterSide.fluidState[3].phase,Plant.Boiler.WaterSide.fluidState[2].phase,Plant.Boiler.WaterSide.fluidState[1].phase,Plant.Boiler.GasSide.friction.NoFriction,Plant.Boiler.WaterSide.friction.NoFriction,Plant.WaterOut.fluidState.phase,Plant.WaterIn.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 {(34,458)} Notification: Performance of prepare postOptimizeDAE: time 0.003286/2.347, allocations: 457.9 kB / 1.143 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002283/2.349, allocations: 338 kB / 1.144 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06439/2.413, allocations: 36.5 MB / 1.179 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001876/2.414, allocations: 27.89 kB / 1.179 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/2.414, allocations: 4 kB / 1.179 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005921/2.42, allocations: 1.684 MB / 1.181 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002375/2.422, allocations: 204.6 kB / 1.181 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007261/2.429, allocations: 455.3 kB / 1.182 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002883/2.432, allocations: 0.5193 MB / 1.182 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3252/2.757, allocations: 16.47 MB / 1.198 GB, free: 266.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03587/2.793, allocations: 19.49 MB / 1.217 GB, free: 266.1 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009447/2.803, allocations: 6.111 MB / 1.223 GB, free: 266.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001627/2.804, allocations: 0.9863 MB / 1.224 GB, free: 265.9 MB / 0.795 GB Notification: Performance of Backend: time 3.4e-07/2.804, allocations: 0.9375 kB / 1.224 GB, free: 265.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0519/2.856, allocations: 17.35 MB / 1.241 GB, free: 263.2 MB / 0.795 GB Notification: Performance of SimCode: time 0.02142/2.878, allocations: 12.64 MB / 1.254 GB, free: 257.2 MB / 0.795 GB Notification: Performance of Templates: time 0.2537/3.131, allocations: 260.9 MB / 1.508 GB, free: 15.21 MB / 0.795 GB " [Timeout remaining time 657] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.287428679992445] Failed to read output from testmodel.py, exit status != 0: 3.140879467013292 3.334495226 2.3146370579999997 Calling exit ...