Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.0013/0.0013, allocations: 88.72 kB / 19.44 MB, free: 356 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.001586/0.001586, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.04211/0.04211, allocations: 6.489 MB / 266 MB, free: 6.648 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.568e-05, allocations: 2.312 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004541/0.004566, allocations: 3.612 MB / 341 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.006452, allocations: 1.168 MB / 342.1 MB, free: 6.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.006789, allocations: 11.94 kB / 342.1 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004926/0.007282, allocations: 202.8 kB / 342.3 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000688/0.00797, allocations: 278.4 kB / 342.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.00871, allocations: 367 kB / 343 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006729/0.009383, allocations: 0.6626 MB / 343.6 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.009735, allocations: 199.7 kB / 343.8 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.01029, allocations: 375 kB / 344.2 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.0106, allocations: 251.2 kB / 344.4 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.381e-05/0.01068, allocations: 56 kB / 344.5 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.01086, allocations: 111.9 kB / 344.6 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.01101, allocations: 227.2 kB / 344.8 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.0112, allocations: 203.3 kB / 345 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007385/0.01194, allocations: 0.8839 MB / 345.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01195, allocations: 0 / 345.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01195, allocations: 0 / 345.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.106e-05/0.01197, allocations: 0 / 345.9 MB, free: 2.539 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001618/0.01359, allocations: 1.043 MB / 346.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.01362, allocations: 12.03 kB / 347 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.01379, allocations: 120.4 kB / 347.1 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006493/0.01444, allocations: 0.541 MB / 347.6 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.01447, allocations: 33.38 kB / 347.7 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.01454, allocations: 44.36 kB / 347.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007154/0.01525, allocations: 431.8 kB / 348.1 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.01527, allocations: 4 kB / 348.1 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.01531, allocations: 24 kB / 348.1 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.01532, allocations: 8 kB / 348.2 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/0.0161, allocations: 315.7 kB / 348.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/0.01893, allocations: 1.511 MB / 350 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.01986, allocations: 311.1 kB / 350.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.02022, allocations: 116.8 kB / 350.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.02026, allocations: 4 kB / 350.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004923/0.02075, allocations: 181.2 kB / 350.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.02076, allocations: 0 / 350.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001866/0.02262, allocations: 0.5341 MB / 351.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.02268, allocations: 59.41 kB / 351.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.02406, allocations: 0.9299 MB / 352.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.0241, allocations: 37.7 kB / 352.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.02447, allocations: 348.6 kB / 352.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.02459, allocations: 99.17 kB / 352.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.02473, allocations: 70.06 kB / 352.6 MB, free: 11.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.02499, allocations: 382.7 kB / 353 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.02541, allocations: 170.2 kB / 353.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007177/0.02613, allocations: 221.7 kB / 353.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008188/0.02695, allocations: 345.3 kB / 353.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.02695, allocations: 0 / 353.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001319/0.02827, allocations: 0.5541 MB / 354.3 MB, free: 9.852 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.02832, allocations: 33.7 kB / 354.3 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.02833, allocations: 3.984 kB / 354.3 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004055/0.02873, allocations: 80.98 kB / 354.4 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.02907, allocations: 71.89 kB / 354.5 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.03124, allocations: 1.692 MB / 356.2 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.03155, allocations: 39.77 kB / 356.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.03158, allocations: 16 kB / 356.2 MB, free: 7.805 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 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000378/0.03196, allocations: 261.7 kB / 356.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.03209, allocations: 75.53 kB / 356.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.03319, allocations: 408.3 kB / 356.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.03319, allocations: 7.984 kB / 356.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.0332, allocations: 0 / 356.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.0332, allocations: 3.984 kB / 357 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.03378, allocations: 408.9 kB / 357.4 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.03379, allocations: 0 / 357.4 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.03407, allocations: 51.89 kB / 357.4 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003035/0.03437, allocations: 76.8 kB / 357.5 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.0344, allocations: 8 kB / 357.5 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.0364, allocations: 1.676 MB / 359.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.0364, allocations: 0 / 359.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.03782, allocations: 0.5519 MB / 359.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.03798, allocations: 87.53 kB / 359.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.03804, allocations: 8 kB / 359.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.03827, allocations: 19.97 kB / 359.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.03837, allocations: 23.95 kB / 359.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.03839, allocations: 15.94 kB / 359.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001188/0.03958, allocations: 0.663 MB / 360.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03958, allocations: 0 / 360.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000575/0.04015, allocations: 131.7 kB / 360.7 MB, free: 3.188 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003163/0.04332, allocations: 0.6539 MB / 361.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.0446, allocations: 499.6 kB / 361.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.0446, allocations: 4.125 kB / 361.8 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.0452, allocations: 262.4 kB / 362.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.04576, allocations: 91.47 kB / 362.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.04825, allocations: 1.322 MB / 363.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.04873, allocations: 349.9 kB / 363.8 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.04895, allocations: 76.23 kB / 363.9 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.04907, allocations: 36.5 kB / 363.9 MB, free: 120 kB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.04907, allocations: 0 / 363.9 MB, free: 120 kB / 282.7 MB Notification: Performance of Templates: time 0.01524/0.06431, allocations: 6.694 MB / 370.6 MB, free: 9.477 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.547873807954602]