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.001333/0.001333, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001475/0.001475, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9772/0.9772, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.02799/0.02799, allocations: 6.483 MB / 267.5 MB, free: 6.48 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.823e-06/1.823e-06, allocations: 0 / 339.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.969e-05, allocations: 8.359 kB / 339.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers): time 0.006226/0.006246, allocations: 4.726 MB / 344 MB, free: 6.824 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.009971, allocations: 2.446 MB / 346.5 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/0.01041, allocations: 23.88 kB / 346.5 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006873/0.0111, allocations: 369.8 kB / 346.9 MB, free: 3.984 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.01211, allocations: 493.2 kB / 347.4 MB, free: 3.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.01342, allocations: 0.6978 MB / 348.1 MB, free: 2.801 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.0147, allocations: 1.247 MB / 349.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.01521, allocations: 291.5 kB / 349.6 MB, free: 1.246 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007796/0.01599, allocations: 0.6742 MB / 350.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006053/0.01659, allocations: 494.6 kB / 350.7 MB, free: 88 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.01675, allocations: 112 kB / 350.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.0171, allocations: 231.8 kB / 351.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003569/0.01746, allocations: 438.5 kB / 351.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003823/0.01784, allocations: 394.7 kB / 351.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.01905, allocations: 1.094 MB / 353 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01905, allocations: 0 / 353 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01906, allocations: 0 / 353 MB, free: 13.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.01907, allocations: 0 / 353 MB, free: 13.84 MB / 330.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.002316/0.02138, allocations: 1.843 MB / 354.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.02142, allocations: 8.031 kB / 354.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/0.02171, allocations: 219.9 kB / 355 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.02281, allocations: 0.7885 MB / 355.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.02286, allocations: 50.38 kB / 355.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.02298, allocations: 84.3 kB / 356 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009421/0.02392, allocations: 0.7351 MB / 356.7 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.02395, allocations: 15.88 kB / 356.7 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.02402, allocations: 32 kB / 356.8 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.02403, allocations: 20 kB / 356.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.02446, allocations: 196.9 kB / 357 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003436/0.02789, allocations: 2.639 MB / 359.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.02855, allocations: 281.7 kB / 359.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.02868, allocations: 71.59 kB / 359.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.02872, allocations: 15.88 kB / 360 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.02899, allocations: 160.8 kB / 360.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.425e-06/0.02899, allocations: 0 / 360.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009661/0.02996, allocations: 453 kB / 360.6 MB, free: 5.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.03004, allocations: 213.6 kB / 360.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.03161, allocations: 1.217 MB / 362 MB, free: 4.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.03165, allocations: 37.7 kB / 362 MB, free: 4.402 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006308/0.03228, allocations: 0.7161 MB / 362.7 MB, free: 3.684 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.03242, allocations: 166.6 kB / 362.9 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.03264, allocations: 135.9 kB / 363 MB, free: 3.379 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.0328, allocations: 0.512 MB / 363.5 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.03298, allocations: 104 kB / 363.6 MB, free: 2.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.03337, allocations: 476.4 kB / 364.1 MB, free: 2.148 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.03384, allocations: 379.8 kB / 364.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.03384, allocations: 0 / 364.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00092/0.03476, allocations: 0.5929 MB / 365.1 MB, free: 1.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.0348, allocations: 33.7 kB / 365.1 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.03481, allocations: 8 kB / 365.1 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.03499, allocations: 43.36 kB / 365.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.03539, allocations: 135.8 kB / 365.3 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.03722, allocations: 3.426 MB / 368.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.03752, allocations: 67.55 kB / 368.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.03756, allocations: 23.94 kB / 368.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002861/0.03784, allocations: 237.8 kB / 369 MB, free: 12.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003129/0.03816, allocations: 472.6 kB / 369.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003619/0.03852, allocations: 363.9 kB / 369.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.03852, allocations: 0 / 369.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.0007377/0.03926, allocations: 0.5891 MB / 370.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.03928, allocations: 33.7 kB / 370.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.03929, allocations: 4 kB / 370.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001015/0.03939, allocations: 43.3 kB / 370.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.03974, allocations: 127.8 kB / 370.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.04166, allocations: 3.418 MB / 374.1 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.04201, allocations: 63.66 kB / 374.1 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.04205, allocations: 19.98 kB / 374.2 MB, free: 7.285 MB / 346.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 (iceT.tokgFuel.local_reset,iceT1.tokgFuel.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * 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.0001705/0.04222, allocations: 308.1 kB / 374.5 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.04239, allocations: 139.2 kB / 374.6 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006242/0.04302, allocations: 381.4 kB / 375 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.04302, allocations: 4 kB / 375 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.04302, allocations: 0 / 375 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.04303, allocations: 3.984 kB / 375 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007102/0.04374, allocations: 0.5348 MB / 375.5 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.04374, allocations: 0 / 375.5 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.04403, allocations: 87.83 kB / 375.6 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.617e-05/0.0441, allocations: 35.36 kB / 375.6 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.04412, allocations: 15.98 kB / 375.6 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.04547, allocations: 3.412 MB / 379.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.04547, allocations: 3.938 kB / 379.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.04597, allocations: 492.8 kB / 379.5 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.04609, allocations: 150.9 kB / 379.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.04615, allocations: 8.188 kB / 379.7 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.0463, allocations: 31.97 kB / 379.7 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.04636, allocations: 31.94 kB / 379.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.04637, allocations: 20.05 kB / 379.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005161/0.04689, allocations: 0.7043 MB / 380.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04689, allocations: 0 / 380.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006568/0.04755, allocations: 442.8 kB / 380.9 MB, free: 192 kB / 346.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.001378/0.04892, allocations: 0.6825 MB / 381.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009097/0.04983, allocations: 1.288 MB / 382.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.04984, allocations: 0 / 382.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.05012, allocations: 467.5 kB / 383.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.05062, allocations: 209.2 kB / 383.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.05296, allocations: 2.016 MB / 385.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.05315, allocations: 267.4 kB / 385.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.05342, allocations: 118.6 kB / 385.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/0.05404, allocations: 266.1 kB / 386.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.05404, allocations: 4 kB / 386.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.01812/0.07216, allocations: 14.54 MB / 400.7 MB, free: 12.52 MB / 378.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.4064146410673857]