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.001222/0.001222, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009584/0.0009584, allocations: 165 kB / 23.02 MB, free: 1.555 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.8836/0.8836, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.02533/0.02533, allocations: 6.478 MB / 266.4 MB, free: 6.641 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.473e-06/1.473e-06, allocations: 0 / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.498e-05, allocations: 2.312 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers): time 0.003814/0.003829, allocations: 4.855 MB / 342.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.005761, allocations: 2.461 MB / 345.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.005992, allocations: 19.88 kB / 345.4 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.006416, allocations: 381.8 kB / 345.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005663/0.006983, allocations: 493.3 kB / 346.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.007664, allocations: 0.6978 MB / 347 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006466/0.008311, allocations: 1.239 MB / 348.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.008611, allocations: 291.5 kB / 348.5 MB, free: 344 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.009086, allocations: 0.6779 MB / 349.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.009515, allocations: 490.6 kB / 349.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.009619, allocations: 112 kB / 349.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.009859, allocations: 231.8 kB / 350 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.0101, allocations: 434.6 kB / 350.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.01035, allocations: 398.7 kB / 350.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000881/0.01123, allocations: 1.097 MB / 351.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.01123, allocations: 3.938 kB / 351.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01123, allocations: 0 / 351.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.01125, allocations: 0 / 351.9 MB, free: 12.92 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.001579/0.01283, allocations: 1.831 MB / 353.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.01286, allocations: 12.03 kB / 353.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.01305, allocations: 215.9 kB / 353.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007967/0.01385, allocations: 0.8237 MB / 354.8 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.01389, allocations: 58.38 kB / 354.8 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.01396, allocations: 80.31 kB / 354.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007145/0.01468, allocations: 0.7781 MB / 355.7 MB, free: 8.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.0147, allocations: 4 kB / 355.7 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.01474, allocations: 28 kB / 355.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.01475, allocations: 16 kB / 355.7 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.01512, allocations: 251.5 kB / 356 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.01747, allocations: 2.872 MB / 358.8 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/0.01795, allocations: 304.7 kB / 359.1 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.01807, allocations: 87.59 kB / 359.2 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.0181, allocations: 12 kB / 359.2 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.01832, allocations: 168.8 kB / 359.4 MB, free: 5.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 1.703e-06/0.01832, allocations: 0 / 359.4 MB, free: 5.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007395/0.01906, allocations: 492.9 kB / 359.9 MB, free: 4.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.01913, allocations: 213.6 kB / 360.1 MB, free: 4.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.02021, allocations: 1.277 MB / 361.4 MB, free: 3.043 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.02024, allocations: 41.7 kB / 361.4 MB, free: 2.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.02063, allocations: 0.7017 MB / 362.1 MB, free: 2.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.548e-05/0.02071, allocations: 162.6 kB / 362.3 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.02084, allocations: 131.9 kB / 362.4 MB, free: 1.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.02095, allocations: 0.5004 MB / 362.9 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.02112, allocations: 135.9 kB / 363 MB, free: 1.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.02141, allocations: 0.4887 MB / 363.5 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.02178, allocations: 395.9 kB / 363.9 MB, free: 272 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.02179, allocations: 0 / 363.9 MB, free: 272 kB / 282.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006698/0.02246, allocations: 0.6394 MB / 364.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.02249, allocations: 41.69 kB / 364.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.0225, allocations: 4 kB / 364.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.02265, allocations: 43.8 kB / 364.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.02291, allocations: 131.8 kB / 364.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.0242, allocations: 3.468 MB / 368.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.02441, allocations: 75.53 kB / 368.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.02445, allocations: 24 kB / 368.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002658/0.02471, allocations: 257.8 kB / 368.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002931/0.025, allocations: 492.4 kB / 369.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003561/0.02536, allocations: 400 kB / 369.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.02536, allocations: 4 kB / 369.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.0006074/0.02597, allocations: 0.6199 MB / 370.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.02599, allocations: 37.69 kB / 370.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.02599, allocations: 4.438 kB / 370.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.389e-05/0.02608, allocations: 47.36 kB / 370.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.0263, allocations: 131.8 kB / 370.3 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.02758, allocations: 3.464 MB / 373.8 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.02779, allocations: 63.66 kB / 373.8 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.02781, allocations: 20 kB / 373.8 MB, free: 5.543 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.0001315/0.02794, allocations: 316 kB / 374.1 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.02805, allocations: 143.3 kB / 374.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/0.02852, allocations: 397.5 kB / 374.7 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.02852, allocations: 4 kB / 374.7 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.02853, allocations: 7.938 kB / 374.7 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.02853, allocations: 3.984 kB / 374.7 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.0291, allocations: 0.7172 MB / 375.4 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02911, allocations: 0 / 375.4 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.02931, allocations: 83.89 kB / 375.5 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.748e-05/0.0294, allocations: 43.36 kB / 375.5 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.02942, allocations: 15.92 kB / 375.6 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.03053, allocations: 3.45 MB / 379 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.03053, allocations: 0 / 379 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.03111, allocations: 0.5281 MB / 379.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.03126, allocations: 159 kB / 379.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.03132, allocations: 15.94 kB / 379.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.03146, allocations: 24.03 kB / 379.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.03153, allocations: 40.03 kB / 379.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.03155, allocations: 12 kB / 379.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006815/0.03223, allocations: 0.7787 MB / 380.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03223, allocations: 0 / 380.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006129/0.03284, allocations: 438.8 kB / 381 MB, free: 14.04 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.00132/0.03416, allocations: 0.6788 MB / 381.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.03518, allocations: 1.351 MB / 383 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.03518, allocations: 0 / 383 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.03546, allocations: 471.5 kB / 383.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.03594, allocations: 201.2 kB / 383.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.03822, allocations: 2.033 MB / 385.7 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.0384, allocations: 275.2 kB / 386 MB, free: 9.109 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.03865, allocations: 138.6 kB / 386.1 MB, free: 8.969 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.03879, allocations: 72.48 kB / 386.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03879, allocations: 0 / 386.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of Templates: time 0.0156/0.05439, allocations: 13.23 MB / 399.4 MB, free: 11.77 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.1475378023460507]