Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001285/0.001285, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001243/0.001243, allocations: 173 kB / 23.49 MB, free: 1.059 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.013/1.013, allocations: 177.1 MB / 203.8 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.03944/0.03944, allocations: 6.473 MB / 266.8 MB, free: 6.699 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.TestIceTmultipliers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.5e-05, allocations: 2.312 kB / 338.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers): time 0.003763/0.003778, allocations: 4.83 MB / 342.9 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.00589, allocations: 2.461 MB / 345.4 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002566/0.006147, allocations: 19.88 kB / 345.4 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.006587, allocations: 365.9 kB / 345.8 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000572/0.007159, allocations: 497.2 kB / 346.2 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.007886, allocations: 0.7017 MB / 346.9 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.008562, allocations: 1.243 MB / 348.2 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.008881, allocations: 287.5 kB / 348.5 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004391/0.00932, allocations: 0.6781 MB / 349.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.00978, allocations: 490.6 kB / 349.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.009883, allocations: 112 kB / 349.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.01014, allocations: 235.7 kB / 350 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.01039, allocations: 434.5 kB / 350.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.01066, allocations: 398.8 kB / 350.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008826/0.01154, allocations: 1.094 MB / 351.9 MB, free: 13.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01154, allocations: 0 / 351.9 MB, free: 13.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01154, allocations: 0 / 351.9 MB, free: 13.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.01155, allocations: 0 / 351.9 MB, free: 13.26 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.001696/0.01325, allocations: 1.839 MB / 353.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.01328, allocations: 8.031 kB / 353.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.01349, allocations: 223.8 kB / 353.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008191/0.01431, allocations: 0.812 MB / 354.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.01435, allocations: 58.38 kB / 354.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.01443, allocations: 76.33 kB / 354.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.01519, allocations: 0.7781 MB / 355.7 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.01522, allocations: 4 kB / 355.7 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.01526, allocations: 28 kB / 355.7 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.01527, allocations: 28 kB / 355.7 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.01583, allocations: 247.5 kB / 356 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003077/0.01891, allocations: 2.864 MB / 358.8 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.01948, allocations: 322.6 kB / 359.1 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.01961, allocations: 79.59 kB / 359.2 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.01965, allocations: 8 kB / 359.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.01993, allocations: 164.9 kB / 359.4 MB, free: 5.438 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 3.787e-06/0.01993, allocations: 3.984 kB / 359.4 MB, free: 5.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009329/0.02087, allocations: 0.4892 MB / 359.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/0.02095, allocations: 217.6 kB / 360.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.02218, allocations: 1.273 MB / 361.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.02222, allocations: 41.64 kB / 361.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.02266, allocations: 0.7017 MB / 362.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.02278, allocations: 162.6 kB / 362.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.02294, allocations: 139.9 kB / 362.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.02309, allocations: 0.5004 MB / 362.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.02329, allocations: 131.9 kB / 363 MB, free: 1.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.02363, allocations: 492.5 kB / 363.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.02407, allocations: 403.9 kB / 363.9 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.02407, allocations: 0 / 363.9 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007721/0.02484, allocations: 0.6359 MB / 364.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.02488, allocations: 41.72 kB / 364.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.02489, allocations: 4 kB / 364.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.02509, allocations: 47.3 kB / 364.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.02538, allocations: 131.8 kB / 364.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.02698, allocations: 3.464 MB / 368.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.02726, allocations: 71.53 kB / 368.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.02729, allocations: 28 kB / 368.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003078/0.0276, allocations: 249.8 kB / 368.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003495/0.02795, allocations: 0.4928 MB / 369.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003738/0.02832, allocations: 395.9 kB / 369.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.02832, allocations: 0 / 369.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.0008398/0.02916, allocations: 0.6281 MB / 370.1 MB, free: 9.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.02919, allocations: 37.69 kB / 370.1 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.02919, allocations: 4 kB / 370.1 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.0293, allocations: 43.36 kB / 370.2 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.02957, allocations: 127.8 kB / 370.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.03096, allocations: 3.464 MB / 373.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.03122, allocations: 59.66 kB / 373.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.03125, allocations: 24 kB / 373.8 MB, free: 5.879 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.0001869/0.03144, allocations: 313.9 kB / 374.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.03157, allocations: 143.2 kB / 374.3 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005574/0.03213, allocations: 389.6 kB / 374.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.03213, allocations: 4.062 kB / 374.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.03214, allocations: 7.938 kB / 374.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.03214, allocations: 15.86 kB / 374.7 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.03281, allocations: 0.725 MB / 375.4 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.03281, allocations: 0 / 375.4 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.03304, allocations: 83.89 kB / 375.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.03315, allocations: 39.36 kB / 375.5 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.03318, allocations: 11.98 kB / 375.5 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.0345, allocations: 3.45 MB / 379 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.0345, allocations: 0 / 379 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.03517, allocations: 0.5281 MB / 379.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.03532, allocations: 159 kB / 379.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.03539, allocations: 8.125 kB / 379.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.03556, allocations: 35.97 kB / 379.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.03564, allocations: 31.94 kB / 379.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.03566, allocations: 12.06 kB / 379.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007766/0.03644, allocations: 0.7787 MB / 380.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03644, allocations: 0 / 380.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008176/0.03726, allocations: 438.8 kB / 381 MB, free: 14.38 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.001507/0.03876, allocations: 0.6879 MB / 381.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.04001, allocations: 1.339 MB / 383 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.04001, allocations: 0 / 383 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.04032, allocations: 475.5 kB / 383.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.04087, allocations: 201.3 kB / 383.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.04338, allocations: 2.033 MB / 385.7 MB, free: 9.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.04357, allocations: 271.1 kB / 386 MB, free: 9.445 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000288/0.04386, allocations: 138.6 kB / 386.1 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.044, allocations: 72.48 kB / 386.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.243e-06/0.044, allocations: 0 / 386.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of Templates: time 0.01813/0.06213, allocations: 13.23 MB / 399.4 MB, free: 12.11 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.325695819919929]