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.0008427/0.0008427, 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.00125/0.00125, allocations: 173 kB / 23.03 MB, free: 1.547 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.057/1.057, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.02632/0.02632, allocations: 6.488 MB / 266.4 MB, free: 6.633 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 2.676e-06/2.676e-06, allocations: 0 / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/3.029e-05, allocations: 2.312 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers): time 0.004837/0.004867, allocations: 4.858 MB / 342.9 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.008384, allocations: 2.469 MB / 345.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005899/0.008974, allocations: 19.88 kB / 345.4 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.00963, allocations: 373.8 kB / 345.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009824/0.01061, allocations: 493.2 kB / 346.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.01182, allocations: 0.7017 MB / 347 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.01284, allocations: 1.243 MB / 348.2 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.01323, allocations: 287.5 kB / 348.5 MB, free: 324 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006768/0.01391, allocations: 0.6781 MB / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005898/0.0145, allocations: 494.6 kB / 349.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.01466, allocations: 108 kB / 349.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.01511, allocations: 227.8 kB / 350 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.01545, allocations: 438.6 kB / 350.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.0158, allocations: 394.6 kB / 350.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.01715, allocations: 1.101 MB / 351.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.01716, allocations: 0 / 351.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.01716, allocations: 7.938 kB / 351.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.01718, allocations: 0 / 351.9 MB, free: 12.89 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.002144/0.01932, allocations: 1.835 MB / 353.7 MB, free: 11.01 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.01937, allocations: 8.031 kB / 353.8 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.01965, allocations: 223.9 kB / 354 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.02072, allocations: 0.8159 MB / 354.8 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/0.02077, allocations: 54.38 kB / 354.8 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.02087, allocations: 80.33 kB / 354.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009811/0.02185, allocations: 0.7742 MB / 355.7 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.02188, allocations: 7.922 kB / 355.7 MB, free: 8.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.02193, allocations: 32 kB / 355.7 MB, free: 8.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.02195, allocations: 16 kB / 355.8 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.02242, allocations: 239.6 kB / 356 MB, free: 8.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/0.02567, allocations: 2.872 MB / 358.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.02628, allocations: 318.6 kB / 359.2 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.02642, allocations: 79.61 kB / 359.2 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.02646, allocations: 15.98 kB / 359.3 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.02674, allocations: 168.8 kB / 359.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 2.865e-06/0.02674, allocations: 0 / 359.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.001187/0.02793, allocations: 492.9 kB / 359.9 MB, free: 4.578 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/0.02802, allocations: 213.6 kB / 360.1 MB, free: 4.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.02959, allocations: 1.281 MB / 361.4 MB, free: 3.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.02963, allocations: 37.7 kB / 361.4 MB, free: 2.977 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/0.03013, allocations: 0.6978 MB / 362.1 MB, free: 2.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.03025, allocations: 166.6 kB / 362.3 MB, free: 2.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.03042, allocations: 139.9 kB / 362.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.03055, allocations: 0.4926 MB / 362.9 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.03076, allocations: 132 kB / 363.1 MB, free: 1.324 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.03114, allocations: 0.4925 MB / 363.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.03161, allocations: 399.9 kB / 363.9 MB, free: 244 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.03161, allocations: 0 / 363.9 MB, free: 244 kB / 282.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000892/0.0325, allocations: 0.6434 MB / 364.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.03254, allocations: 32.67 kB / 364.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.03255, allocations: 4 kB / 364.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000457/0.03301, allocations: 51.78 kB / 364.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.03338, allocations: 135.8 kB / 364.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.03501, allocations: 3.464 MB / 368.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.03534, allocations: 67.55 kB / 368.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.03537, allocations: 31.98 kB / 368.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000344/0.03572, allocations: 257.8 kB / 368.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003463/0.03606, allocations: 492.5 kB / 369.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004366/0.0365, allocations: 388 kB / 369.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.0365, allocations: 4 kB / 369.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.0008043/0.03731, allocations: 0.6277 MB / 370.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.03734, allocations: 37.7 kB / 370.1 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.03734, allocations: 0 / 370.1 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.03746, allocations: 51.78 kB / 370.2 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.0378, allocations: 135.8 kB / 370.3 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.03958, allocations: 3.453 MB / 373.8 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.03989, allocations: 67.64 kB / 373.8 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.03993, allocations: 28 kB / 373.9 MB, free: 5.516 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.0001812/0.04011, allocations: 308 kB / 374.2 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.04027, allocations: 143.3 kB / 374.3 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006451/0.04091, allocations: 401.5 kB / 374.7 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.04092, allocations: 4 kB / 374.7 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.04092, allocations: 3.938 kB / 374.7 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.04093, allocations: 3.984 kB / 374.7 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008286/0.04176, allocations: 0.721 MB / 375.4 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.04176, allocations: 7.984 kB / 375.4 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.04204, allocations: 75.89 kB / 375.5 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.04216, allocations: 43.36 kB / 375.6 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.04219, allocations: 12 kB / 375.6 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.04401, allocations: 3.457 MB / 379 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.04402, allocations: 0 / 379 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.04483, allocations: 0.5281 MB / 379.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.04502, allocations: 155 kB / 379.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.0451, allocations: 15.94 kB / 379.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.04531, allocations: 24.05 kB / 379.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.0454, allocations: 43.92 kB / 379.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.04542, allocations: 16.06 kB / 379.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009705/0.0464, allocations: 0.7709 MB / 380.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.0464, allocations: 0 / 380.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001047/0.04744, allocations: 442.8 kB / 381 MB, free: 14.02 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.001854/0.0493, allocations: 0.6805 MB / 381.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.0508, allocations: 1.344 MB / 383 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.05081, allocations: 3.938 kB / 383 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.0512, allocations: 475.5 kB / 383.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.05189, allocations: 196.2 kB / 383.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.05526, allocations: 2.032 MB / 385.7 MB, free: 9.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.05551, allocations: 271.1 kB / 386 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003708/0.05588, allocations: 138.6 kB / 386.1 MB, free: 8.953 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/0.05634, allocations: 76.47 kB / 386.2 MB, free: 8.875 MB / 314.7 MB Notification: Performance of SimCode: time 1.743e-06/0.05634, allocations: 4 kB / 386.2 MB, free: 8.871 MB / 314.7 MB Notification: Performance of Templates: time 0.02177/0.07811, allocations: 13.95 MB / 400.2 MB, free: 11.02 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=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.374577784910798]