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.001561/0.001561, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001722, allocations: 197 kB / 16.54 MB, free: 6.664 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1598/0.1598, allocations: 8.934 MB / 299.3 MB, free: 2.059 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 67.89 kB / 361.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1151, allocations: 51.48 MB / 413.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006931/0.1221, allocations: 3.82 MB / 417.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.1254, allocations: 1.713 MB / 419 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.1259, allocations: 11.94 kB / 419 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.1267, allocations: 338.6 kB / 419.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.1278, allocations: 306.6 kB / 419.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.129, allocations: 374.4 kB / 420 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.1303, allocations: 0.694 MB / 420.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006811/0.131, allocations: 321.5 kB / 421 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.1315, allocations: 302.8 kB / 421.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005945/0.1321, allocations: 398.5 kB / 421.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.359e-05/0.1323, allocations: 64 kB / 421.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.1325, allocations: 116 kB / 421.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.1328, allocations: 322.9 kB / 422.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004727/0.1333, allocations: 488.9 kB / 422.6 MB, free: 216 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1945/0.3279, allocations: 1.181 MB / 423.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3279, allocations: 1.062 kB / 423.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3279, allocations: 1.438 kB / 423.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.328, allocations: 0 / 423.8 MB, free: 37.69 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.002253/0.3302, allocations: 1.454 MB / 425.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3303, allocations: 15.66 kB / 425.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.934e-05/0.3304, allocations: 85.02 kB / 425.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.3305, allocations: 121.7 kB / 425.5 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008716/0.3314, allocations: 0.839 MB / 426.3 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.3315, allocations: 39.25 kB / 426.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.3315, allocations: 54.7 kB / 426.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/0.3324, allocations: 485 kB / 426.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3324, allocations: 0 / 426.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.3324, allocations: 28.39 kB / 426.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3324, allocations: 15.94 kB / 426.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.3332, allocations: 344.2 kB / 427.3 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.3359, allocations: 2.126 MB / 429.4 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/0.3367, allocations: 343.7 kB / 429.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.337, allocations: 139.3 kB / 429.9 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.3371, allocations: 9.391 kB / 429.9 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/0.3375, allocations: 199.2 kB / 430.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.615e-06/0.3375, allocations: 3.719 kB / 430.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.0017/0.3392, allocations: 0.6866 MB / 430.8 MB, free: 35.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.3393, allocations: 54.62 kB / 430.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.3409, allocations: 1.663 MB / 432.5 MB, free: 35.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.341, allocations: 31.77 kB / 432.5 MB, free: 35.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.3413, allocations: 0.4927 MB / 433 MB, free: 34.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/0.3414, allocations: 98.33 kB / 433.1 MB, free: 34.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3415, allocations: 84.78 kB / 433.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.3416, allocations: 319.5 kB / 433.5 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.3419, allocations: 142.9 kB / 433.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.3423, allocations: 206.5 kB / 433.8 MB, free: 34.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.343, allocations: 369.8 kB / 434.2 MB, free: 34.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.343, allocations: 3 kB / 434.2 MB, free: 34.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001117/0.3441, allocations: 0.5613 MB / 434.8 MB, free: 33.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.3441, allocations: 32.45 kB / 434.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.3442, allocations: 3.938 kB / 434.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.3444, allocations: 71.97 kB / 434.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.3447, allocations: 72.03 kB / 434.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.346, allocations: 1.809 MB / 436.7 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.3464, allocations: 48.55 kB / 436.8 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.3465, allocations: 21.08 kB / 436.8 MB, free: 32.17 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.0004427/0.3469, allocations: 386.2 kB / 437.2 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.3471, allocations: 106.8 kB / 437.3 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009972/0.3481, allocations: 482 kB / 437.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3481, allocations: 3.281 kB / 437.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.3481, allocations: 0 / 437.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3481, allocations: 3.281 kB / 437.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.3488, allocations: 0.7245 MB / 438.5 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.3488, allocations: 0 / 438.5 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.349, allocations: 52.2 kB / 438.5 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/0.3492, allocations: 60.97 kB / 438.6 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.3492, allocations: 4 kB / 438.6 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.3504, allocations: 1.81 MB / 440.4 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3504, allocations: 3.516 kB / 440.4 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.3517, allocations: 0.6261 MB / 441 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.3519, allocations: 218 kB / 441.3 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.352, allocations: 7.25 kB / 441.3 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.3523, allocations: 23.66 kB / 441.3 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3524, allocations: 41.7 kB / 441.3 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.3524, allocations: 9.906 kB / 441.3 MB, free: 29.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001197/0.3536, allocations: 1.195 MB / 442.5 MB, free: 28.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3536, allocations: 0 / 442.5 MB, free: 28.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005542/0.3542, allocations: 169.2 kB / 442.7 MB, free: 28.71 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.003424/0.3576, allocations: 1.666 MB / 444.4 MB, free: 27.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.3587, allocations: 0.5236 MB / 444.9 MB, free: 27.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3587, allocations: 0 / 444.9 MB, free: 27.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.3591, allocations: 296.7 kB / 445.2 MB, free: 27.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.3598, allocations: 109.7 kB / 445.3 MB, free: 27.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.3711, allocations: 10.58 MB / 455.9 MB, free: 22.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.3717, allocations: 1.105 MB / 457 MB, free: 21.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.372, allocations: 116.1 kB / 457.1 MB, free: 21.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.3723, allocations: 369.9 kB / 457.4 MB, free: 21.25 MB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3723, allocations: 0 / 457.4 MB, free: 21.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05702/0.4293, allocations: 19.14 MB / 476.6 MB, free: 18.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.12, allocations: 8.609 kB / 476.6 MB, free: 18.26 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)