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 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: "" <> 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.001867/0.001868, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.002197/0.002197, allocations: 195.8 kB / 16.26 MB, free: 6.633 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.472/1.472, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1507/0.1507, allocations: 8.937 MB / 299 MB, free: 2.133 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.88 kB / 361.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09256/0.09449, allocations: 51.49 MB / 412.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005848/0.1004, allocations: 3.855 MB / 416.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.1031, allocations: 1.654 MB / 418.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/0.1035, allocations: 8 kB / 418.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.1041, allocations: 327 kB / 418.7 MB, free: 4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005548/0.1046, allocations: 267 kB / 419 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.1054, allocations: 335.4 kB / 419.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007411/0.1062, allocations: 0.694 MB / 420 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.1067, allocations: 321.5 kB / 420.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.1071, allocations: 302.8 kB / 420.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.1076, allocations: 410.5 kB / 421 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.389e-05/0.1077, allocations: 60 kB / 421.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.1079, allocations: 119.9 kB / 421.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.1082, allocations: 326.9 kB / 421.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.1086, allocations: 481 kB / 422 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1469/0.2555, allocations: 1.189 MB / 423.2 MB, free: 38.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2556, allocations: 0 / 423.2 MB, free: 38.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2556, allocations: 0 / 423.2 MB, free: 38.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.422e-05/0.2556, allocations: 0 / 423.2 MB, free: 38.21 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.00193/0.2576, allocations: 1.452 MB / 424.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2576, allocations: 16.61 kB / 424.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.625e-05/0.2577, allocations: 81.23 kB / 424.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.2578, allocations: 128.6 kB / 424.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.2587, allocations: 0.8387 MB / 425.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.2587, allocations: 39.59 kB / 425.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.2588, allocations: 55.52 kB / 425.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.2596, allocations: 484.9 kB / 426.3 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.2596, allocations: 0 / 426.3 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.2597, allocations: 18.3 kB / 426.3 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2597, allocations: 13.47 kB / 426.3 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.2604, allocations: 354.5 kB / 426.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.2629, allocations: 2.123 MB / 428.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.2636, allocations: 342.7 kB / 429.1 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.2639, allocations: 142.8 kB / 429.2 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.264, allocations: 3.25 kB / 429.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000432/0.2644, allocations: 194.7 kB / 429.4 MB, free: 36.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.2644, allocations: 7.688 kB / 429.4 MB, free: 36.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.00154/0.266, allocations: 0.6865 MB / 430.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.266, allocations: 55.31 kB / 430.2 MB, free: 35.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.2675, allocations: 1.664 MB / 431.9 MB, free: 35.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.2676, allocations: 34.14 kB / 431.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.2679, allocations: 0.4934 MB / 432.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.268, allocations: 93.45 kB / 432.5 MB, free: 35.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2681, allocations: 85.78 kB / 432.6 MB, free: 35.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.2681, allocations: 318.9 kB / 432.9 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.2685, allocations: 146.9 kB / 433 MB, free: 35.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.2688, allocations: 201.6 kB / 433.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006215/0.2694, allocations: 372.7 kB / 433.6 MB, free: 34.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2695, allocations: 0 / 433.6 MB, free: 34.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001037/0.2705, allocations: 0.5671 MB / 434.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.2705, allocations: 31.8 kB / 434.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2705, allocations: 3.328 kB / 434.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.2708, allocations: 64.89 kB / 434.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.2711, allocations: 76.19 kB / 434.3 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.2724, allocations: 1.816 MB / 436.1 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.2728, allocations: 52.42 kB / 436.2 MB, free: 32.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.2729, allocations: 19.5 kB / 436.2 MB, free: 32.78 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.0003923/0.2733, allocations: 376.1 kB / 436.6 MB, free: 32.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.2734, allocations: 100.2 kB / 436.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009554/0.2744, allocations: 483.7 kB / 437.1 MB, free: 32.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2744, allocations: 3.062 kB / 437.1 MB, free: 32.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2744, allocations: 0 / 437.1 MB, free: 32.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2744, allocations: 3 kB / 437.1 MB, free: 32.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.275, allocations: 0.7281 MB / 437.9 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.275, allocations: 0 / 437.9 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.2752, allocations: 45.92 kB / 437.9 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.2754, allocations: 59.62 kB / 438 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.2755, allocations: 8 kB / 438 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.2767, allocations: 1.814 MB / 439.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2767, allocations: 0 / 439.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.2779, allocations: 0.6236 MB / 440.4 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.2782, allocations: 228.3 kB / 440.6 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.2783, allocations: 8 kB / 440.6 MB, free: 29.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.2785, allocations: 23.83 kB / 440.7 MB, free: 29.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/0.2786, allocations: 34.58 kB / 440.7 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.2786, allocations: 13.55 kB / 440.7 MB, free: 29.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001132/0.2798, allocations: 1.187 MB / 441.9 MB, free: 29.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2798, allocations: 0 / 441.9 MB, free: 29.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000553/0.2804, allocations: 165 kB / 442.1 MB, free: 29.33 MB / 350.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.003538/0.2839, allocations: 1.677 MB / 443.7 MB, free: 28.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.2849, allocations: 0.5291 MB / 444.3 MB, free: 28.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2849, allocations: 0 / 444.3 MB, free: 28.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.2854, allocations: 283.1 kB / 444.5 MB, free: 27.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.286, allocations: 129.9 kB / 444.7 MB, free: 27.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.2996, allocations: 10.82 MB / 455.5 MB, free: 22.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.3002, allocations: 1.103 MB / 456.6 MB, free: 21.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002771/0.3005, allocations: 116.5 kB / 456.7 MB, free: 21.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.3008, allocations: 370.2 kB / 457.1 MB, free: 21.56 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3008, allocations: 0 / 457.1 MB, free: 21.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04915/0.35, allocations: 18.9 MB / 476 MB, free: 18.75 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.3502, allocations: 278.3 kB / 476.2 MB, free: 18.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/2.724, allocations: 0 / 476.2 MB, free: 18.38 MB / 350.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)