Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.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.001379/0.001379, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001529/0.001529, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.516/1.516, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04492/0.04492, allocations: 6.488 MB / 266.1 MB, free: 6.648 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 337.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.423e-05, allocations: 6.25 kB / 337.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers): time 0.005087/0.005111, allocations: 4.543 MB / 341.9 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003483/0.008594, allocations: 2.43 MB / 344.3 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007097/0.009304, allocations: 19.88 kB / 344.4 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007829/0.01009, allocations: 373.8 kB / 344.7 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.01133, allocations: 477.4 kB / 345.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.01276, allocations: 0.7095 MB / 345.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.01397, allocations: 1.243 MB / 347.1 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.01452, allocations: 287.5 kB / 347.4 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007728/0.0153, allocations: 0.6702 MB / 348.1 MB, free: 344 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007455/0.01604, allocations: 494.6 kB / 348.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.01628, allocations: 108 kB / 348.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.01683, allocations: 227.8 kB / 348.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005255/0.01735, allocations: 434.6 kB / 349.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006928/0.01805, allocations: 402.7 kB / 349.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.02075, allocations: 1.694 MB / 351.4 MB, free: 13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.02075, allocations: 0 / 351.4 MB, free: 13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.02075, allocations: 0 / 351.4 MB, free: 13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.215e-05/0.0208, allocations: 4 kB / 351.4 MB, free: 13 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003922/0.02473, allocations: 1.73 MB / 353.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.02477, allocations: 12.03 kB / 353.2 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/0.02523, allocations: 223.9 kB / 353.4 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.02724, allocations: 0.9693 MB / 354.3 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.02731, allocations: 54.38 kB / 354.4 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.02747, allocations: 80.33 kB / 354.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.02936, allocations: 0.9134 MB / 355.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/0.0294, allocations: 11.94 kB / 355.4 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/0.02947, allocations: 28 kB / 355.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.0295, allocations: 16 kB / 355.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.03109, allocations: 0.5204 MB / 356 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005715/0.03681, allocations: 2.706 MB / 358.7 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.03863, allocations: 0.538 MB / 359.2 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.03932, allocations: 188.7 kB / 359.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.03937, allocations: 8 kB / 359.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007341/0.0401, allocations: 279.1 kB / 359.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.04011, allocations: 4 kB / 359.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.002524/0.04263, allocations: 0.7803 MB / 360.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.0428, allocations: 209.6 kB / 360.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.04592, allocations: 1.79 MB / 362.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.694e-05/0.04601, allocations: 37.7 kB / 362.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007526/0.04676, allocations: 0.62 MB / 363.1 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.04696, allocations: 162.6 kB / 363.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.04723, allocations: 138.3 kB / 363.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.04743, allocations: 330 kB / 363.7 MB, free: 332 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.04813, allocations: 253 kB / 364 MB, free: 68 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009706/0.0491, allocations: 0.5635 MB / 364.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.05046, allocations: 0.5717 MB / 365.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.05047, allocations: 4 kB / 365.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002175/0.05264, allocations: 0.8764 MB / 366 MB, free: 13.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.503e-05/0.0527, allocations: 33.7 kB / 366 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.05271, allocations: 4 kB / 366 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/0.05299, allocations: 49.69 kB / 366.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/0.05358, allocations: 139.7 kB / 366.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.05615, allocations: 2.497 MB / 368.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.05677, allocations: 79.91 kB / 368.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.05683, allocations: 27.98 kB / 368.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001116/0.05795, allocations: 0.5731 MB / 369.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008512/0.0588, allocations: 0.5323 MB / 369.9 MB, free: 9.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001169/0.05997, allocations: 0.5404 MB / 370.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/0.05997, allocations: 0 / 370.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.001906/0.06188, allocations: 0.8254 MB / 371.3 MB, free: 8.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.348e-05/0.06193, allocations: 37.7 kB / 371.3 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.06194, allocations: 4 kB / 371.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.06213, allocations: 45.69 kB / 371.4 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.06265, allocations: 136.2 kB / 371.5 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.06515, allocations: 2.497 MB / 374 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.06579, allocations: 68.02 kB / 374.1 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.06586, allocations: 24 kB / 374.1 MB, free: 5.133 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,iceT1.tokgFuel.local_reset,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.06613, allocations: 222.5 kB / 374.3 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.06646, allocations: 147.1 kB / 374.5 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.06817, allocations: 0.6012 MB / 375.1 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.06818, allocations: 8 kB / 375.1 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.06819, allocations: 3.938 kB / 375.1 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.0682, allocations: 3.984 kB / 375.1 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.06941, allocations: 0.6803 MB / 375.8 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.06942, allocations: 0 / 375.8 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.06993, allocations: 91.88 kB / 375.8 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.07012, allocations: 45.69 kB / 375.9 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.07015, allocations: 8 kB / 375.9 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/0.07265, allocations: 2.494 MB / 378.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.07265, allocations: 0 / 378.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.07496, allocations: 0.8659 MB / 379.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.07535, allocations: 159.2 kB / 379.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.07553, allocations: 11.94 kB / 379.4 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.07602, allocations: 43.95 kB / 379.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.07614, allocations: 35.92 kB / 379.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.07618, allocations: 15.94 kB / 379.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00225/0.07843, allocations: 1.259 MB / 380.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.07843, allocations: 0 / 380.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001368/0.0798, allocations: 438.8 kB / 381.2 MB, free: 13.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (inertia.w,loadTorque.phi,iceT.tokgFuel.y,inertia1.w,iceT1.tokgFuel.y,loadTorque1.phi) * Number of discrete variables: 3 ($whenCondition1,tauRef.T_start,tauRef.count) * Number of discrete states: 1 (tauRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003511/0.08331, allocations: 0.7476 MB / 381.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.08648, allocations: 1.391 MB / 383.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.08648, allocations: 0 / 383.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009327/0.08741, allocations: 458.3 kB / 383.8 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.08866, allocations: 198.8 kB / 384 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/0.09367, allocations: 2.468 MB / 386.4 MB, free: 8.664 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.09471, allocations: 0.604 MB / 387.1 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006627/0.09537, allocations: 174.6 kB / 387.2 MB, free: 7.855 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.09564, allocations: 76.47 kB / 387.3 MB, free: 7.777 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.09564, allocations: 4 kB / 387.3 MB, free: 7.773 MB / 314.7 MB Notification: Performance of Templates: time 0.0287/0.1243, allocations: 13.19 MB / 400.5 MB, free: 10.69 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.922982453019358]