Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008921/0.0008921, allocations: 86.17 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1364/0.1364, allocations: 8.021 MB / 299.1 MB, free: 3.363 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 15.98 kB / 361.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07632/0.07661, allocations: 52.18 MB / 414 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003087/0.07973, allocations: 2.73 MB / 416.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.08086, allocations: 0.7487 MB / 417.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.08101, allocations: 11.94 kB / 417.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.08144, allocations: 259.3 kB / 417.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.08174, allocations: 191.3 kB / 417.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.08223, allocations: 223.3 kB / 418.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.08263, allocations: 431.1 kB / 418.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.0829, allocations: 148 kB / 418.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.08309, allocations: 171.4 kB / 418.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.08335, allocations: 215.2 kB / 419.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.0834, allocations: 20 kB / 419.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.0835, allocations: 43.98 kB / 419.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.08367, allocations: 159.5 kB / 419.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.08377, allocations: 125.3 kB / 419.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.08425, allocations: 0.5186 MB / 419.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.08426, allocations: 4 kB / 419.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.08427, allocations: 0 / 419.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.08428, allocations: 0 / 419.9 MB, free: 4.094 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001255/0.08554, allocations: 0.9335 MB / 420.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.08558, allocations: 12.03 kB / 420.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/0.08568, allocations: 75.06 kB / 420.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.08624, allocations: 0.4957 MB / 421.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.08628, allocations: 20.66 kB / 421.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.08634, allocations: 47.89 kB / 421.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.08702, allocations: 389.2 kB / 421.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.08705, allocations: 11.88 kB / 421.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.08709, allocations: 12 kB / 421.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.08711, allocations: 8 kB / 421.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006723/0.08778, allocations: 302.3 kB / 422.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1453/0.2331, allocations: 1.678 MB / 423.9 MB, free: 41.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008353/0.234, allocations: 322.5 kB / 424.2 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.2342, allocations: 127.9 kB / 424.3 MB, free: 41.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.2343, allocations: 3.125 kB / 424.3 MB, free: 41.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/0.2347, allocations: 183.5 kB / 424.5 MB, free: 41.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.325e-06/0.2347, allocations: 0.8438 kB / 424.5 MB, free: 41.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001644/0.2363, allocations: 0.7314 MB / 425.2 MB, free: 41.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.2364, allocations: 85.08 kB / 425.3 MB, free: 41.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007797/0.2372, allocations: 0.9695 MB / 426.3 MB, free: 41.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2372, allocations: 32.64 kB / 426.3 MB, free: 41.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.2374, allocations: 340.6 kB / 426.7 MB, free: 41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.2374, allocations: 74.92 kB / 426.7 MB, free: 40.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.2375, allocations: 7.375 kB / 426.7 MB, free: 40.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.2375, allocations: 380.1 kB / 427.1 MB, free: 40.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.2378, allocations: 119.8 kB / 427.2 MB, free: 40.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.2381, allocations: 214.3 kB / 427.4 MB, free: 40.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.2384, allocations: 155.7 kB / 427.6 MB, free: 40.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2384, allocations: 3.719 kB / 427.6 MB, free: 40.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009888/0.2394, allocations: 0.5549 MB / 428.1 MB, free: 40.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.671e-05/0.2395, allocations: 187.4 kB / 428.3 MB, free: 40.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2395, allocations: 0 / 428.3 MB, free: 40.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.2398, allocations: 88.56 kB / 428.4 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.24, allocations: 57.27 kB / 428.5 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.2416, allocations: 1.859 MB / 430.3 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.2418, allocations: 55.27 kB / 430.4 MB, free: 38.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.2419, allocations: 13.16 kB / 430.4 MB, free: 38.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-06/0.2419, allocations: 3.219 kB / 430.4 MB, free: 38.78 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006474/0.2425, allocations: 372.2 kB / 430.8 MB, free: 38.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2425, allocations: 7.203 kB / 430.8 MB, free: 38.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.2426, allocations: 46.81 kB / 430.8 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.2428, allocations: 62.86 kB / 430.9 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008085/0.2437, allocations: 1.581 MB / 432.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.2439, allocations: 49.16 kB / 432.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2439, allocations: 12.09 kB / 432.5 MB, free: 37.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.powReq.T_start,powReq.T_start,$PRE.powReq.count,powReq.count,ice.toKgFuel.local_reset,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.2441, allocations: 334.8 kB / 432.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.2442, allocations: 59.72 kB / 432.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008645/0.2451, allocations: 443.9 kB / 433.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2451, allocations: 3.062 kB / 433.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.2451, allocations: 3.422 kB / 433.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2451, allocations: 4.891 kB / 433.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.2455, allocations: 489.3 kB / 433.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2455, allocations: 2.812 kB / 433.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.2457, allocations: 42.67 kB / 433.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001865/0.2459, allocations: 83.23 kB / 434 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.2459, allocations: 6.844 kB / 434 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.2473, allocations: 1.827 MB / 435.8 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2473, allocations: 0 / 435.8 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.2484, allocations: 0.5858 MB / 436.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.2485, allocations: 150.7 kB / 436.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.2486, allocations: 10.95 kB / 436.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.2488, allocations: 35.36 kB / 436.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.2489, allocations: 28.78 kB / 436.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.2489, allocations: 9.969 kB / 436.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005993/0.2495, allocations: 0.7047 MB / 437.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2495, allocations: 3.219 kB / 437.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006142/0.2501, allocations: 192.3 kB / 437.5 MB, free: 35.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y,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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006908/0.2508, allocations: 350.1 kB / 437.8 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.2521, allocations: 0.8618 MB / 438.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2522, allocations: 0 / 438.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.2527, allocations: 327.5 kB / 439 MB, free: 34.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.2531, allocations: 81.89 kB / 439.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2547, allocations: 1.534 MB / 440.6 MB, free: 33.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.2549, allocations: 0.9225 MB / 441.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.2551, allocations: 63.81 kB / 441.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.2552, allocations: 30.41 kB / 441.7 MB, free: 32.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2552, allocations: 0 / 441.7 MB, free: 32.91 MB / 350.1 MB Notification: Performance of Templates: time 0.008323/0.2635, allocations: 5.781 MB / 447.4 MB, free: 32.47 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)