Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.DetailedGen.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.0009563/0.0009563, allocations: 77.86 kB / 20.66 MB, free: 3.836 MB / 18.57 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.008/1.008, allocations: 177.1 MB / 201 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] 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.001695/0.001695, allocations: 159.4 kB / 257.7 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2747/0.2747, allocations: 80.25 MB / 394.5 MB, free: 1.98 MB / 314.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.0207/0.0207, allocations: 4.817 MB / 482.6 MB, free: 3.965 MB / 394.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenHPL.Examples.DetailedGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.DetailedGen") translateModel(OpenHPL.Examples.DetailedGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.DetailedGen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5687 GB, free: 100 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.396e-05, allocations: 5.688 kB / 0.5687 GB, free: 96 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.DetailedGen): time 0.007031/0.007055, allocations: 7.564 MB / 0.5761 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007634/0.01469, allocations: 4.67 MB / 0.5806 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.01607, allocations: 39.75 kB / 0.5807 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.01805, allocations: 1.15 MB / 0.5818 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.02024, allocations: 0.8036 MB / 0.5826 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.02376, allocations: 1.991 MB / 0.5845 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004809/0.02857, allocations: 4.917 MB / 0.5893 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.03099, allocations: 1.592 MB / 0.5909 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003201/0.03419, allocations: 2.512 MB / 0.5933 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003717/0.03791, allocations: 4.015 MB / 0.5972 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001664/0.03957, allocations: 0.8086 MB / 0.598 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.04129, allocations: 1.093 MB / 0.5991 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.1717/0.213, allocations: 3.743 MB / 0.6028 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006567/0.2196, allocations: 2.94 MB / 0.6056 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.2315, allocations: 9.203 MB / 0.6146 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2315, allocations: 1.531 kB / 0.6146 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2315, allocations: 0.5625 kB / 0.6146 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005391/0.232, allocations: 0.9688 kB / 0.6146 GB, free: 150.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2368 * Number of variables: 2368 Notification: Performance of Generate backend data structure: time 0.03169/0.2637, allocations: 9.018 MB / 0.6234 GB, free: 147 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2638, allocations: 11.66 kB / 0.6234 GB, free: 147 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005368/0.2691, allocations: 1.312 MB / 0.6247 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005678/0.2748, allocations: 2.772 MB / 0.6274 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.2751, allocations: 497.8 kB / 0.6279 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/0.2771, allocations: 0.6474 MB / 0.6285 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.2924, allocations: 7.066 MB / 0.6354 GB, free: 141 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.2926, allocations: 15.67 kB / 0.6354 GB, free: 141 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001694/0.2943, allocations: 271.7 kB / 0.6357 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002516/0.2968, allocations: 1.517 MB / 0.6372 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.3092, allocations: 3.691 MB / 0.6408 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04697/0.3561, allocations: 24 MB / 0.6642 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007754/0.3639, allocations: 6.836 MB / 0.6709 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/0.3662, allocations: 1.482 MB / 0.6724 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006336/0.3669, allocations: 264.6 kB / 0.6726 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.844e-05/0.367, allocations: 117.1 kB / 0.6727 GB, free: 106 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=763): time 1.144e-05/0.367, allocations: 0 / 0.6727 GB, free: 106 MB / 0.5105 GB Notification: Performance of matching and sorting (n=789): time 0.05856/0.4255, allocations: 14.35 MB / 0.6867 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.4256, allocations: 442 kB / 0.6871 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.427, allocations: 1.308 MB / 0.6884 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001592/0.4286, allocations: 157.7 kB / 0.6886 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008884/0.4295, allocations: 2.692 MB / 0.6912 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002582/0.432, allocations: 2.874 MB / 0.694 GB, free: 84.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002091/0.4341, allocations: 1.383 MB / 0.6954 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.675e-05/0.4342, allocations: 480.7 kB / 0.6958 GB, free: 82.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.4359, allocations: 1.233 MB / 0.697 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.4382, allocations: 2.749 MB / 0.6997 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007115/0.4453, allocations: 5.967 MB / 0.7055 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/0.4453, allocations: 4 kB / 0.7055 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.01016/0.4555, allocations: 5.803 MB / 0.7112 GB, free: 65.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.4555, allocations: 8 kB / 0.7112 GB, free: 65.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.4555, allocations: 16 kB / 0.7112 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004689/0.4602, allocations: 2.078 MB / 0.7133 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005804/0.466, allocations: 1.447 MB / 0.7147 GB, free: 62.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009835/0.4759, allocations: 13.08 MB / 0.7274 GB, free: 48.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/0.4807, allocations: 199.9 kB / 0.7276 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/0.4823, allocations: 223.8 kB / 0.7279 GB, free: 48.16 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: simpleGen.speedSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real simpleGen.inertia.w:VARIABLE(start = simpleGen.f_0 * 2.0 * 3.141592653589793 * simpleGen.f_nom unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005855/0.4881, allocations: 1.468 MB / 0.7293 GB, free: 46.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003254/0.4914, allocations: 2.743 MB / 0.732 GB, free: 43.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008934/0.5003, allocations: 5.94 MB / 0.7378 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.476e-05/0.5003, allocations: 8.719 kB / 0.7378 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=911) (initialization_lambda0): time 0.009903/0.5102, allocations: 5.802 MB / 0.7434 GB, free: 31.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.5103, allocations: 11.98 kB / 0.7435 GB, free: 31.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.5103, allocations: 16 kB / 0.7435 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004585/0.5149, allocations: 2.078 MB / 0.7455 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005867/0.5207, allocations: 1.428 MB / 0.7469 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009326/0.5301, allocations: 13.08 MB / 0.7597 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004771/0.5348, allocations: 199.8 kB / 0.7599 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001693/0.5365, allocations: 227.8 kB / 0.7601 GB, free: 13.86 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: simpleGen.speedSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real simpleGen.inertia.w:VARIABLE(start = simpleGen.f_0 * 2.0 * 3.141592653589793 * simpleGen.f_nom unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 4 (penstock.KP.boundaryCon[2,2],penstock.KP.boundaryCon[2,1],penstock.KP.boundaryCon[1,2],penstock.KP.boundaryCon[1,1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (846): * Single equations (assignments): 841 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,26), (1,7), (1,20), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002135/0.5387, allocations: 0.6427 MB / 0.7607 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/0.5401, allocations: 0.6109 MB / 0.7613 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009859/0.5499, allocations: 6.574 MB / 0.7677 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.633e-05/0.55, allocations: 47.83 kB / 0.7678 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.55, allocations: 0 / 0.7678 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002646/0.5526, allocations: 1.192 MB / 0.7689 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009106/0.5536, allocations: 156 kB / 0.7691 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/0.5558, allocations: 180 kB / 0.7692 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008175/0.5566, allocations: 0.5836 MB / 0.7698 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01326/0.5698, allocations: 5.61 MB / 0.7753 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01112/0.581, allocations: 7.125 MB / 0.7823 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003031/0.584, allocations: 2.337 MB / 0.7845 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000877/0.5849, allocations: 0.7065 MB / 0.7852 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of Backend: time 6.21e-07/0.5849, allocations: 0 / 0.7852 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01925/0.6041, allocations: 8.957 MB / 0.794 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of SimCode: time 0.19/0.7941, allocations: 13.3 MB / 0.807 GB, free: 169.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.1875/0.9816, allocations: 181.2 MB / 0.9839 GB, free: 17.15 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenHPL_OpenHPL.Examples.DetailedGen.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.DetailedGen.pipe ; mkfifo OpenHPL_OpenHPL.Examples.DetailedGen.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.DetailedGen.pipe >> ../files/OpenHPL_OpenHPL.Examples.DetailedGen.sim & ./OpenHPL_OpenHPL.Examples.DetailedGen -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.DetailedGen.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.529026867821813]