Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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 3.0.0-main/package.mo", uses=false) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007643/0.007643, allocations: 99.11 kB / 15.73 MB, free: 6.039 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.001959/0.001959, allocations: 195.3 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.1616/0.1616, allocations: 8.403 MB / 299 MB, free: 2.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 63.89 kB / 413.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2351, allocations: 51.36 MB / 464.7 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004895/0.24, allocations: 3.831 MB / 468.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.2425, allocations: 1.71 MB / 470.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003543/0.2429, allocations: 8.438 kB / 470.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.2436, allocations: 345.2 kB / 470.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006413/0.2442, allocations: 304.5 kB / 470.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.2451, allocations: 368.2 kB / 471.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007938/0.2459, allocations: 0.7023 MB / 471.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.2464, allocations: 321.1 kB / 472.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.2468, allocations: 303.4 kB / 472.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.2473, allocations: 402.8 kB / 472.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-05/0.2474, allocations: 60.47 kB / 473 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.2476, allocations: 121.4 kB / 473.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.2479, allocations: 320.5 kB / 473.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.2482, allocations: 488.3 kB / 473.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.2495, allocations: 1.219 MB / 475.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2495, allocations: 0 / 475.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2495, allocations: 1.375 kB / 475.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.2496, allocations: 0 / 475.1 MB, free: 11.46 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00216/0.2517, allocations: 1.492 MB / 476.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2518, allocations: 13.81 kB / 476.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.76e-05/0.2519, allocations: 84.59 kB / 476.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.2521, allocations: 137.1 kB / 476.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.2531, allocations: 0.8541 MB / 477.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.2531, allocations: 36.72 kB / 477.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/0.2532, allocations: 49.7 kB / 477.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008882/0.2541, allocations: 488.2 kB / 478.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.2541, allocations: 5.422 kB / 478.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.2542, allocations: 16.12 kB / 478.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.2542, allocations: 11.42 kB / 478.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/0.2551, allocations: 355.8 kB / 478.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.258, allocations: 2.111 MB / 480.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000807/0.2588, allocations: 347.7 kB / 481.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.2591, allocations: 146.1 kB / 481.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.2592, allocations: 11.7 kB / 481.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004295/0.2596, allocations: 188.6 kB / 481.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.2596, allocations: 0 / 481.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001745/0.2614, allocations: 0.6829 MB / 482.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.2614, allocations: 58.59 kB / 482.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.2634, allocations: 1.663 MB / 483.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.2634, allocations: 35.98 kB / 483.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.2637, allocations: 0.4992 MB / 484.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/0.2638, allocations: 106.8 kB / 484.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.2639, allocations: 82.94 kB / 484.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.264, allocations: 321.8 kB / 484.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.2643, allocations: 139.7 kB / 485 MB, free: 5.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.2647, allocations: 204.7 kB / 485.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007251/0.2655, allocations: 372.7 kB / 485.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2655, allocations: 1.375 kB / 485.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001133/0.2666, allocations: 0.5644 MB / 486.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.2667, allocations: 31.2 kB / 486.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2667, allocations: 14.84 kB / 486.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/0.2669, allocations: 64.38 kB / 486.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.2672, allocations: 70.17 kB / 486.3 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.2686, allocations: 1.82 MB / 488.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.269, allocations: 46.42 kB / 488.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.2691, allocations: 19.58 kB / 488.2 MB, free: 2.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$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 (44): * Single equations (assignments): 42 * 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.0005287/0.2696, allocations: 389.4 kB / 488.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.2697, allocations: 104 kB / 488.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.2708, allocations: 488.4 kB / 489.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2708, allocations: 2.844 kB / 489.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.2708, allocations: 0 / 489.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2708, allocations: 3.984 kB / 489.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007377/0.2716, allocations: 0.7283 MB / 489.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2716, allocations: 0 / 489.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.2719, allocations: 53.91 kB / 489.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002018/0.2721, allocations: 54.84 kB / 490 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2721, allocations: 6.344 kB / 490 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.2735, allocations: 1.809 MB / 491.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2736, allocations: 1.188 kB / 491.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.2751, allocations: 0.6258 MB / 492.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.2755, allocations: 230.5 kB / 492.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/0.2756, allocations: 6.031 kB / 492.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.2759, allocations: 28.56 kB / 492.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.276, allocations: 29.03 kB / 492.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.276, allocations: 17.53 kB / 492.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001674/0.2777, allocations: 1.19 MB / 493.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2777, allocations: 0 / 493.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006625/0.2784, allocations: 157 kB / 494.1 MB, free: 14.32 MB / 366.1 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.003887/0.2823, allocations: 1.683 MB / 495.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.2835, allocations: 0.5219 MB / 496.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2836, allocations: 0 / 496.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005563/0.2841, allocations: 282.5 kB / 496.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007269/0.2849, allocations: 125.5 kB / 496.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.2996, allocations: 9.871 MB / 0.4947 GB, free: 2.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008054/0.3005, allocations: 1.106 MB / 0.4958 GB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000335/0.3008, allocations: 121.2 kB / 0.4959 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004849/0.3013, allocations: 371.3 kB / 0.4962 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3013, allocations: 0 / 0.4962 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05571/0.357, allocations: 19.55 MB / 0.5153 GB, free: 13.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.29, allocations: 8.969 kB / 0.5153 GB, free: 13.16 MB / 398.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1)