Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004938/0.004938, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1614/0.1614, allocations: 8.923 MB / 300.4 MB, free: 2.977 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003015, allocations: 8 kB / 363.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1099, allocations: 52.49 MB / 416.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.004774/0.1147, allocations: 3.38 MB / 419.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.1176, allocations: 1.689 MB / 421.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.1179, allocations: 15.88 kB / 421.1 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000607/0.1185, allocations: 315.1 kB / 421.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005785/0.1191, allocations: 267 kB / 421.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.12, allocations: 370.8 kB / 422.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006951/0.1207, allocations: 0.6354 MB / 422.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.1211, allocations: 223.6 kB / 422.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.1215, allocations: 230.9 kB / 423.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/0.1219, allocations: 322.6 kB / 423.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.122, allocations: 23.92 kB / 423.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.1222, allocations: 75.97 kB / 423.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.1224, allocations: 275 kB / 423.8 MB, free: 420 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1804/0.3028, allocations: 419.3 kB / 424.2 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.3045, allocations: 1.082 MB / 425.3 MB, free: 35.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3046, allocations: 2.953 kB / 425.3 MB, free: 35.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3046, allocations: 2.625 kB / 425.3 MB, free: 35.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.586e-05/0.3046, allocations: 0 / 425.3 MB, free: 35.88 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002292/0.3069, allocations: 1.241 MB / 426.6 MB, free: 35.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.307, allocations: 8.75 kB / 426.6 MB, free: 35.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.3072, allocations: 118.9 kB / 426.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/0.308, allocations: 0.8326 MB / 427.5 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.3081, allocations: 34.28 kB / 427.6 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.3082, allocations: 45.94 kB / 427.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/0.309, allocations: 467.2 kB / 428.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.309, allocations: 0 / 428.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.3091, allocations: 16.16 kB / 428.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3091, allocations: 10.59 kB / 428.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.3099, allocations: 367 kB / 428.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.3123, allocations: 2.042 MB / 430.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.3132, allocations: 475.8 kB / 431 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.3136, allocations: 155.7 kB / 431.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.3137, allocations: 3.188 kB / 431.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004788/0.3142, allocations: 208.5 kB / 431.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.873e-06/0.3142, allocations: 0 / 431.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001769/0.3159, allocations: 0.7385 MB / 432 MB, free: 33.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.316, allocations: 83.73 kB / 432.1 MB, free: 33.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.3177, allocations: 1.652 MB / 433.8 MB, free: 33.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.3177, allocations: 29.08 kB / 433.8 MB, free: 33.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.318, allocations: 486.9 kB / 434.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/0.3181, allocations: 103.7 kB / 434.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.3182, allocations: 46.09 kB / 434.4 MB, free: 32.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.3182, allocations: 322.1 kB / 434.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.3186, allocations: 154.1 kB / 434.9 MB, free: 32.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.3191, allocations: 232.4 kB / 435.1 MB, free: 32.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007336/0.3198, allocations: 396.4 kB / 435.5 MB, free: 32.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3198, allocations: 0.5625 kB / 435.5 MB, free: 32.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001111/0.3209, allocations: 0.6063 MB / 436.1 MB, free: 32.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/0.321, allocations: 168.3 kB / 436.3 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.321, allocations: 3.125 kB / 436.3 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.3213, allocations: 67.5 kB / 436.4 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.3216, allocations: 83.7 kB / 436.4 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.3228, allocations: 1.652 MB / 438.1 MB, free: 30.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.3232, allocations: 60.22 kB / 438.1 MB, free: 30.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.3232, allocations: 16.19 kB / 438.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-06/0.3232, allocations: 3.281 kB / 438.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008876/0.3241, allocations: 467.3 kB / 438.6 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3241, allocations: 7.688 kB / 438.6 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.3243, allocations: 61.89 kB / 438.7 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.3246, allocations: 79.61 kB / 438.8 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.3257, allocations: 1.643 MB / 440.4 MB, free: 29.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.326, allocations: 52.7 kB / 440.5 MB, free: 29.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.3261, allocations: 15.75 kB / 440.5 MB, free: 29.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003938/0.3265, allocations: 449.7 kB / 440.9 MB, free: 29.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.3266, allocations: 99.12 kB / 441 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.3276, allocations: 0.5082 MB / 441.5 MB, free: 29.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3276, allocations: 3.312 kB / 441.5 MB, free: 29.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3276, allocations: 5.234 kB / 441.5 MB, free: 29.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3276, allocations: 0 / 441.5 MB, free: 29.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.3293, allocations: 1.25 MB / 442.8 MB, free: 28.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3293, allocations: 0 / 442.8 MB, free: 28.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.3296, allocations: 66.3 kB / 442.8 MB, free: 28.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.3298, allocations: 63.52 kB / 442.9 MB, free: 28.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.3298, allocations: 6.562 kB / 442.9 MB, free: 28.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3309, allocations: 1.639 MB / 444.5 MB, free: 27.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3309, allocations: 0.7969 kB / 444.6 MB, free: 27.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.3323, allocations: 0.7366 MB / 445.3 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.3325, allocations: 225.6 kB / 445.5 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.3326, allocations: 4.125 kB / 445.5 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.3329, allocations: 37.7 kB / 445.5 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.333, allocations: 30.56 kB / 445.6 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.333, allocations: 5.531 kB / 445.6 MB, free: 26.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001191/0.3342, allocations: 1.193 MB / 446.8 MB, free: 26.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3342, allocations: 0 / 446.8 MB, free: 26.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008915/0.3351, allocations: 275.1 kB / 447 MB, free: 26.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.tokgFuel.y,loadTorque.phi) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002328/0.3375, allocations: 0.5961 MB / 447.6 MB, free: 26.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.3391, allocations: 0.9243 MB / 448.6 MB, free: 25.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3391, allocations: 0 / 448.6 MB, free: 25.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.3396, allocations: 298.1 kB / 448.9 MB, free: 25.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007762/0.3404, allocations: 103.5 kB / 449 MB, free: 25.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.3431, allocations: 2.333 MB / 451.3 MB, free: 24.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.3436, allocations: 1.093 MB / 452.4 MB, free: 23.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002831/0.3439, allocations: 131.2 kB / 452.5 MB, free: 23.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.344, allocations: 52.8 kB / 452.6 MB, free: 23.5 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.344, allocations: 0 / 452.6 MB, free: 23.5 MB / 350.1 MB Notification: Performance of Templates: time 0.01563/0.3596, allocations: 8.83 MB / 461.4 MB, free: 22.87 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1)