Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001425/0.001425, allocations: 93.06 kB / 19.65 MB, free: 276 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.001776/0.001776, allocations: 165 kB / 23.02 MB, free: 1.551 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.9981/0.9981, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.0266/0.0266, allocations: 6.473 MB / 266.4 MB, free: 6.637 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.685e-05, allocations: 2.312 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.003754/0.003781, allocations: 3.699 MB / 341.8 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.005845, allocations: 1.932 MB / 343.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.006122, allocations: 15.88 kB / 343.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.006518, allocations: 202.8 kB / 343.9 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005712/0.00709, allocations: 294.3 kB / 344.2 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.007662, allocations: 399.1 kB / 344.6 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.008111, allocations: 0.6585 MB / 345.3 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.008336, allocations: 147.2 kB / 345.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.008591, allocations: 359.2 kB / 345.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.008862, allocations: 267.2 kB / 346 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.008914, allocations: 60 kB / 346.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.009132, allocations: 183.7 kB / 346.2 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.009265, allocations: 219.3 kB / 346.5 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.009384, allocations: 211.4 kB / 346.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.009951, allocations: 0.6305 MB / 347.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.009956, allocations: 0 / 347.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.009957, allocations: 3.938 kB / 347.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.009964, allocations: 0 / 347.3 MB, free: 1.512 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.0009821/0.01095, allocations: 1.147 MB / 348.5 MB, free: 324 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.01099, allocations: 8.031 kB / 348.5 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.0111, allocations: 112.4 kB / 348.6 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.01162, allocations: 488.9 kB / 349 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.01165, allocations: 29.38 kB / 349.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.01171, allocations: 44.33 kB / 349.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.01219, allocations: 440.1 kB / 349.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.01221, allocations: 0 / 349.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.01223, allocations: 16 kB / 349.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.01224, allocations: 8 kB / 349.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.01246, allocations: 133.8 kB / 349.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.01397, allocations: 1.574 MB / 351.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.0143, allocations: 171.3 kB / 351.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.01438, allocations: 43.67 kB / 351.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.01441, allocations: 4 kB / 351.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.01459, allocations: 125 kB / 351.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.094e-06/0.01459, allocations: 0 / 351.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005439/0.01514, allocations: 288.5 kB / 351.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.01519, allocations: 132.5 kB / 352 MB, free: 12.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.01582, allocations: 0.726 MB / 352.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.01584, allocations: 29.7 kB / 352.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.01607, allocations: 407.4 kB / 353.2 MB, free: 11.35 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.01612, allocations: 87.27 kB / 353.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.679e-05/0.01621, allocations: 83.34 kB / 353.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.01639, allocations: 0.5664 MB / 353.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.01651, allocations: 85.3 kB / 354 MB, free: 10.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.01669, allocations: 275.3 kB / 354.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.01691, allocations: 230.5 kB / 354.5 MB, free: 9.895 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01691, allocations: 4 kB / 354.5 MB, free: 9.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004259/0.01734, allocations: 383.7 kB / 354.9 MB, free: 9.492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.01737, allocations: 33.7 kB / 354.9 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01738, allocations: 0 / 354.9 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.01752, allocations: 27.67 kB / 354.9 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.01771, allocations: 80.11 kB / 355 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007988/0.01851, allocations: 1.736 MB / 356.7 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.01866, allocations: 43.77 kB / 356.8 MB, free: 7.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.01868, allocations: 16 kB / 356.8 MB, free: 7.426 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001766/0.01886, allocations: 208.5 kB / 357 MB, free: 7.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001681/0.01903, allocations: 275.9 kB / 357.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001994/0.01923, allocations: 219 kB / 357.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.01923, allocations: 0 / 357.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003903/0.01962, allocations: 387.7 kB / 357.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.01964, allocations: 42.73 kB / 357.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.01965, allocations: 0 / 357.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.878e-05/0.01972, allocations: 23.77 kB / 357.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.01988, allocations: 67.91 kB / 358 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006877/0.02056, allocations: 1.736 MB / 359.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.02071, allocations: 39.77 kB / 359.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.02073, allocations: 12 kB / 359.8 MB, free: 4.164 MB / 282.7 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,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.02084, allocations: 287.4 kB / 360.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.02091, allocations: 79.56 kB / 360.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.02123, allocations: 227.3 kB / 360.4 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.02123, allocations: 3.938 kB / 360.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02124, allocations: 8.062 kB / 360.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.02124, allocations: 3.984 kB / 360.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.0216, allocations: 424.3 kB / 360.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.0216, allocations: 4 kB / 360.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.02173, allocations: 43.97 kB / 360.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-05/0.0218, allocations: 27.61 kB / 360.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.02181, allocations: 8 kB / 360.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006847/0.0225, allocations: 1.736 MB / 362.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0225, allocations: 0 / 362.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.02286, allocations: 310.8 kB / 362.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.02294, allocations: 83.5 kB / 363 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.02297, allocations: 8 kB / 363 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.02307, allocations: 15.97 kB / 363 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.02313, allocations: 32.08 kB / 363 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.02314, allocations: 11.94 kB / 363.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004356/0.02358, allocations: 466.9 kB / 363.5 MB, free: 232 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02358, allocations: 0 / 363.5 MB, free: 232 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004798/0.02406, allocations: 255.5 kB / 363.8 MB, free: 15.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * 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 (23): * Single equations (assignments): 20 * 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): 1 system {(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.00144/0.0255, allocations: 0.6711 MB / 364.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008471/0.02635, allocations: 0.7758 MB / 365.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02635, allocations: 0 / 365.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.02652, allocations: 254.2 kB / 365.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.02689, allocations: 128.9 kB / 365.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.02841, allocations: 1.082 MB / 366.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.602e-05/0.0285, allocations: 161.2 kB / 366.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.02865, allocations: 76.2 kB / 366.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.02874, allocations: 44.48 kB / 366.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02874, allocations: 0 / 366.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Templates: time 0.01128/0.04002, allocations: 7.952 MB / 374.9 MB, free: 5.035 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.968080201651901]