Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.SimpleGen.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.0009592/0.0009592, allocations: 77.14 kB / 20.67 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 0.8965/0.8965, allocations: 177.2 MB / 201.1 MB, free: 5.445 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.001296/0.001296, allocations: 155.4 kB / 257.7 MB, free: 12.86 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.2881/0.2881, allocations: 80.24 MB / 394.5 MB, free: 1.992 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.02/0.02, allocations: 4.808 MB / 482.6 MB, free: 3.938 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.SimpleGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleGen") translateModel(OpenHPL.Examples.SimpleGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleGen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.5687 GB, free: 80 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.031e-05, allocations: 10.25 kB / 0.5687 GB, free: 68 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleGen): time 0.005931/0.005962, allocations: 6.679 MB / 0.5752 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00433/0.01029, allocations: 4.107 MB / 0.5792 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005357/0.01083, allocations: 31.81 kB / 0.5792 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.01197, allocations: 1.045 MB / 0.5803 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000673/0.01264, allocations: 0.5934 MB / 0.5808 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.01386, allocations: 1.068 MB / 0.5819 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.01498, allocations: 1.799 MB / 0.5836 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007991/0.01577, allocations: 0.8272 MB / 0.5844 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007886/0.01656, allocations: 0.9467 MB / 0.5854 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004938/0.01706, allocations: 0.5529 MB / 0.5859 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.01718, allocations: 140 kB / 0.586 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007256/0.01791, allocations: 423.4 kB / 0.5864 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.01812, allocations: 358.5 kB / 0.5868 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.01842, allocations: 478.6 kB / 0.5872 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009899/0.01941, allocations: 1.331 MB / 0.5885 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01942, allocations: 4 kB / 0.5885 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01942, allocations: 0 / 0.5885 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.01943, allocations: 0 / 0.5885 GB, free: 11.6 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001878/0.0213, allocations: 1.943 MB / 0.5904 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.02134, allocations: 8.031 kB / 0.5905 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.02178, allocations: 271.9 kB / 0.5907 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007217/0.0225, allocations: 0.7733 MB / 0.5915 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.02254, allocations: 70.38 kB / 0.5915 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/0.02263, allocations: 100.4 kB / 0.5916 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008194/0.02345, allocations: 1.157 MB / 0.5928 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.02348, allocations: 7.938 kB / 0.5928 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.02353, allocations: 40 kB / 0.5928 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.02354, allocations: 20 kB / 0.5928 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000702/0.02424, allocations: 317.5 kB / 0.5931 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.02704, allocations: 3.259 MB / 0.5963 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.02765, allocations: 439.1 kB / 0.5967 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.02781, allocations: 150 kB / 0.5969 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.02809, allocations: 120.5 kB / 0.597 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.02812, allocations: 46.05 kB / 0.597 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=81): time 2.425e-06/0.02812, allocations: 0 / 0.597 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91): time 0.00222/0.03034, allocations: 1.757 MB / 0.5987 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.03046, allocations: 406.5 kB / 0.5991 GB, free: 184 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1793/0.2097, allocations: 0.9382 MB / 0.6001 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.2099, allocations: 42.58 kB / 0.6001 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.2102, allocations: 0.6628 MB / 0.6007 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.2104, allocations: 329.7 kB / 0.6011 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.2106, allocations: 198.7 kB / 0.6012 GB, free: 165 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.2106, allocations: 0.5208 MB / 0.6018 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.2108, allocations: 122.5 kB / 0.6019 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.2112, allocations: 0.8257 MB / 0.6027 GB, free: 163.7 MB / 0.5105 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: penstock.Vdot = penstock.Vdot_0 (discharge.Vdot_0 = penstock.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = surgeTank.Vdot_0 (intake.Vdot_0 - discharge.Vdot_0 = surgeTank.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.2125, allocations: 1.07 MB / 0.6037 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2125, allocations: 5.031 kB / 0.6037 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001017/0.2136, allocations: 0.7893 MB / 0.6045 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2136, allocations: 7.5 kB / 0.6045 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2136, allocations: 7.188 kB / 0.6045 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004364/0.214, allocations: 160.8 kB / 0.6047 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.2145, allocations: 221.3 kB / 0.6049 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.2163, allocations: 4.187 MB / 0.609 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.2167, allocations: 62.78 kB / 0.609 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.2168, allocations: 34.44 kB / 0.6091 GB, free: 159.5 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 Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: penstock.Vdot = penstock.Vdot_0 surgeTank.Vdot = surgeTank.Vdot_0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003525/0.2171, allocations: 272.3 kB / 0.6093 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003318/0.2175, allocations: 0.8279 MB / 0.6101 GB, free: 158.5 MB / 0.5105 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: penstock.Vdot = penstock.Vdot_0 (discharge.Vdot_0 = penstock.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = surgeTank.Vdot_0 (intake.Vdot_0 - discharge.Vdot_0 = surgeTank.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001116/0.2186, allocations: 1.039 MB / 0.6111 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.073e-06/0.2186, allocations: 3.344 kB / 0.6111 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.0009688/0.2196, allocations: 0.7855 MB / 0.6119 GB, free: 158 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2196, allocations: 7.328 kB / 0.6119 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2196, allocations: 6.969 kB / 0.6119 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003987/0.22, allocations: 161.3 kB / 0.6121 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.2205, allocations: 213.8 kB / 0.6123 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.2222, allocations: 4.184 MB / 0.6164 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.2226, allocations: 58.08 kB / 0.6164 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.2226, allocations: 36.23 kB / 0.6165 GB, free: 154.4 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 Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: penstock.Vdot = penstock.Vdot_0 surgeTank.Vdot = surgeTank.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 initialization (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.2228, allocations: 344.8 kB / 0.6168 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.223, allocations: 153.3 kB / 0.6169 GB, free: 154 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000999/0.224, allocations: 0.6685 MB / 0.6176 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.224, allocations: 5.172 kB / 0.6176 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.224, allocations: 0.7812 kB / 0.6176 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.2242, allocations: 201.3 kB / 0.6178 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.446e-05/0.2243, allocations: 21.95 kB / 0.6178 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.2246, allocations: 44.84 kB / 0.6178 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.2248, allocations: 72.55 kB / 0.6179 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001283/0.2261, allocations: 0.8309 MB / 0.6187 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009615/0.227, allocations: 0.9978 MB / 0.6197 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002303/0.2273, allocations: 190.5 kB / 0.6199 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005259/0.2278, allocations: 0.5654 MB / 0.6204 GB, free: 153 MB / 0.5105 GB Notification: Performance of Backend: time 6.21e-07/0.2278, allocations: 0.875 kB / 0.6204 GB, free: 153 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002931/0.2307, allocations: 2.058 MB / 0.6224 GB, free: 152 MB / 0.5105 GB Notification: Performance of SimCode: time 0.003271/0.234, allocations: 3.331 MB / 0.6257 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.02499/0.259, allocations: 26.56 MB / 0.6516 GB, free: 129.6 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.SimpleGen.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.SimpleGen.pipe ; mkfifo OpenHPL_OpenHPL.Examples.SimpleGen.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.SimpleGen.pipe >> ../files/OpenHPL_OpenHPL.Examples.SimpleGen.sim & ./OpenHPL_OpenHPL.Examples.SimpleGen -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleGen.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.191285101231188]