Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.0009479/0.000948, allocations: 86.72 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.001153/0.001153, 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.34/1.34, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1485/0.1485, allocations: 8.03 MB / 299.1 MB, free: 3.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 8 kB / 361.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08206/0.08236, allocations: 52.17 MB / 414 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003316/0.08571, allocations: 2.734 MB / 416.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.08704, allocations: 0.7449 MB / 417.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.08728, allocations: 11.94 kB / 417.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.08774, allocations: 271.2 kB / 417.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.08812, allocations: 187.3 kB / 417.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/0.08873, allocations: 219.1 kB / 418.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004776/0.08921, allocations: 431.2 kB / 418.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.0895, allocations: 144.1 kB / 418.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.08975, allocations: 167.4 kB / 418.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.09003, allocations: 219.2 kB / 419.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.09008, allocations: 12 kB / 419.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.0902, allocations: 47.98 kB / 419.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.09037, allocations: 163.5 kB / 419.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.09049, allocations: 129.3 kB / 419.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.09097, allocations: 0.5186 MB / 419.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.09098, allocations: 0 / 419.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09099, allocations: 3.938 kB / 419.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.09101, allocations: 0 / 419.9 MB, free: 4.035 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.001382/0.09239, allocations: 0.9317 MB / 420.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.09243, allocations: 8.031 kB / 420.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.09256, allocations: 79.06 kB / 420.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.09321, allocations: 0.4917 MB / 421.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.09325, allocations: 24.64 kB / 421.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/0.09332, allocations: 39.91 kB / 421.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.09406, allocations: 393.2 kB / 421.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.09409, allocations: 7.953 kB / 421.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.09413, allocations: 12 kB / 421.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.09414, allocations: 4 kB / 421.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.09486, allocations: 302.3 kB / 422.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1528/0.2477, allocations: 1.682 MB / 423.9 MB, free: 41.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.2485, allocations: 322.1 kB / 424.2 MB, free: 41.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.2488, allocations: 124.2 kB / 424.3 MB, free: 41.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.2489, allocations: 2.25 kB / 424.3 MB, free: 41.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/0.2493, allocations: 185.1 kB / 424.5 MB, free: 41.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 3.627e-06/0.2493, allocations: 0.75 kB / 424.5 MB, free: 41.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001724/0.251, allocations: 0.7364 MB / 425.2 MB, free: 41.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.2511, allocations: 81.27 kB / 425.3 MB, free: 41.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008058/0.2519, allocations: 0.9721 MB / 426.3 MB, free: 40.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2519, allocations: 32.58 kB / 426.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.2521, allocations: 340.8 kB / 426.6 MB, free: 40.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.2522, allocations: 71.98 kB / 426.7 MB, free: 40.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.2522, allocations: 6.312 kB / 426.7 MB, free: 40.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.2522, allocations: 372.9 kB / 427.1 MB, free: 40.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.2525, allocations: 124.6 kB / 427.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.2528, allocations: 213.5 kB / 427.4 MB, free: 40.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.2532, allocations: 155.8 kB / 427.6 MB, free: 40.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2532, allocations: 0 / 427.6 MB, free: 40.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001004/0.2542, allocations: 0.5601 MB / 428.1 MB, free: 40.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.2542, allocations: 190.4 kB / 428.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2543, allocations: 3.281 kB / 428.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/0.2545, allocations: 87.11 kB / 428.4 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.2547, allocations: 55.98 kB / 428.5 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.2565, allocations: 1.86 MB / 430.3 MB, free: 38.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.2568, allocations: 53.41 kB / 430.4 MB, free: 38.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.2568, allocations: 10 kB / 430.4 MB, free: 38.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.2569, allocations: 3.156 kB / 430.4 MB, free: 38.66 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006775/0.2575, allocations: 380.4 kB / 430.8 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2576, allocations: 7.891 kB / 430.8 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.2577, allocations: 50.58 kB / 430.8 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2579, allocations: 63.89 kB / 430.9 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008721/0.2587, allocations: 1.573 MB / 432.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.259, allocations: 48.73 kB / 432.5 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.259, allocations: 9 kB / 432.5 MB, free: 37.21 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.0003043/0.2593, allocations: 338.7 kB / 432.8 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.2594, allocations: 59.59 kB / 432.9 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009106/0.2603, allocations: 446.7 kB / 433.3 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.2603, allocations: 6.156 kB / 433.3 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.2603, allocations: 0 / 433.3 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2604, allocations: 5.5 kB / 433.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.2607, allocations: 492.1 kB / 433.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2607, allocations: 0 / 433.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.2609, allocations: 45.66 kB / 433.9 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.2611, allocations: 86.23 kB / 434 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.2612, allocations: 6.438 kB / 434 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.2628, allocations: 1.83 MB / 435.8 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2628, allocations: 0 / 435.8 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.2639, allocations: 0.5832 MB / 436.4 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.264, allocations: 151.1 kB / 436.5 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.2641, allocations: 9.094 kB / 436.5 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.2643, allocations: 37.45 kB / 436.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.2643, allocations: 28.14 kB / 436.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.2644, allocations: 7.906 kB / 436.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005998/0.265, allocations: 0.7059 MB / 437.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.265, allocations: 0 / 437.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000635/0.2656, allocations: 192.6 kB / 437.5 MB, free: 34.95 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.0007454/0.2664, allocations: 359.3 kB / 437.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.2677, allocations: 0.8584 MB / 438.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2677, allocations: 0 / 438.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.2683, allocations: 322.6 kB / 439 MB, free: 34.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.2687, allocations: 78.72 kB / 439.1 MB, free: 34.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.2703, allocations: 1.537 MB / 440.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.2706, allocations: 0.9205 MB / 441.6 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.2707, allocations: 66.14 kB / 441.6 MB, free: 32.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.2708, allocations: 26.31 kB / 441.6 MB, free: 32.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2708, allocations: 0 / 441.6 MB, free: 32.73 MB / 350.1 MB Notification: Performance of Templates: time 0.00861/0.2794, allocations: 5.787 MB / 447.4 MB, free: 32.3 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)