Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.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.TestIceConnOO,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceConnOO,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_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.001301/0.001301, allocations: 103.9 kB / 15.78 MB, free: 5.93 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.001313/0.001313, allocations: 201.5 kB / 16.73 MB, free: 5.793 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.435/1.435, allocations: 225.6 MB / 243.1 MB, free: 3.664 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03752/0.03752, allocations: 7.891 MB / 303.9 MB, free: 3.234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.88 kB / 423.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3105, allocations: 53.99 MB / 477.5 MB, free: 23.63 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConnOO): time 0.004877/0.3154, allocations: 3.685 MB / 481.2 MB, free: 21.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3173, allocations: 1.054 MB / 482.3 MB, free: 20.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.3176, allocations: 7.969 kB / 482.3 MB, free: 20.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006764/0.3183, allocations: 337.3 kB / 482.6 MB, free: 20.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.3189, allocations: 275.5 kB / 482.9 MB, free: 20.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009591/0.3198, allocations: 373.3 kB / 483.2 MB, free: 19.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007475/0.3206, allocations: 0.6111 MB / 483.8 MB, free: 19.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.321, allocations: 207 kB / 484 MB, free: 19.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.3213, allocations: 271.1 kB / 484.3 MB, free: 19.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.3218, allocations: 389.8 kB / 484.7 MB, free: 19.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.87e-05/0.3219, allocations: 51.03 kB / 484.7 MB, free: 19.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.3222, allocations: 111.2 kB / 484.8 MB, free: 19.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.3224, allocations: 240 kB / 485.1 MB, free: 19.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.3228, allocations: 370.1 kB / 485.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.3241, allocations: 0.9095 MB / 486.3 MB, free: 18.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3241, allocations: 0 / 486.3 MB, free: 18.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3241, allocations: 0 / 486.3 MB, free: 18.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3241, allocations: 1.188 kB / 486.3 MB, free: 18.48 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001747/0.3259, allocations: 1.214 MB / 487.6 MB, free: 17.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3259, allocations: 12.55 kB / 487.6 MB, free: 17.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.326, allocations: 83.94 kB / 487.7 MB, free: 17.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.3261, allocations: 104.8 kB / 487.8 MB, free: 17.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008133/0.327, allocations: 0.6118 MB / 488.4 MB, free: 17.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.327, allocations: 32.19 kB / 488.4 MB, free: 17.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.3271, allocations: 50.36 kB / 488.4 MB, free: 16.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008552/0.3279, allocations: 457.3 kB / 488.9 MB, free: 16.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.328, allocations: 5.859 kB / 488.9 MB, free: 16.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.328, allocations: 16.03 kB / 488.9 MB, free: 16.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.328, allocations: 10 kB / 488.9 MB, free: 16.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007857/0.3288, allocations: 329.8 kB / 489.2 MB, free: 16.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.3313, allocations: 1.775 MB / 491 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007803/0.3321, allocations: 307.7 kB / 491.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.3324, allocations: 124.2 kB / 491.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.3324, allocations: 4 kB / 491.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.3329, allocations: 202.2 kB / 491.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.3329, allocations: 0 / 491.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001688/0.3346, allocations: 0.6407 MB / 492.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.3346, allocations: 62.67 kB / 492.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.336, allocations: 1.142 MB / 493.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.3361, allocations: 32.39 kB / 493.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.3364, allocations: 405.2 kB / 493.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.078e-05/0.3365, allocations: 99.62 kB / 494 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3366, allocations: 68 kB / 494.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.3367, allocations: 316.7 kB / 494.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.337, allocations: 120.7 kB / 494.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.3374, allocations: 180.1 kB / 494.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.338, allocations: 326.9 kB / 495 MB, free: 13.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.338, allocations: 1.125 kB / 495 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001115/0.3392, allocations: 499.7 kB / 495.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.3392, allocations: 32.47 kB / 495.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3392, allocations: 2.656 kB / 495.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.3395, allocations: 63.27 kB / 495.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.3398, allocations: 59.58 kB / 495.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.3413, allocations: 1.794 MB / 497.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.3416, allocations: 43.55 kB / 497.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.3417, allocations: 15.12 kB / 497.5 MB, free: 11.44 MB / 366.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 (33): * Single equations (assignments): 31 * 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.0004308/0.3421, allocations: 300.1 kB / 497.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.835e-05/0.3422, allocations: 77.84 kB / 497.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.3432, allocations: 433.7 kB / 498.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3433, allocations: 6.938 kB / 498.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3433, allocations: 0 / 498.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3433, allocations: 1.828 kB / 498.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008212/0.3441, allocations: 0.5788 MB / 498.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3441, allocations: 0 / 498.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.3443, allocations: 55.36 kB / 498.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.3446, allocations: 53.72 kB / 499 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.3446, allocations: 10.92 kB / 499 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.3459, allocations: 1.79 MB / 0.489 GB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3459, allocations: 1.281 kB / 0.4891 GB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3472, allocations: 0.5869 MB / 0.4896 GB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.3474, allocations: 163.7 kB / 0.4898 GB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/0.3475, allocations: 5.344 kB / 0.4898 GB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.3477, allocations: 28.84 kB / 0.4898 GB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3478, allocations: 31.89 kB / 0.4898 GB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.3479, allocations: 10.22 kB / 0.4899 GB, free: 8.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.3491, allocations: 0.828 MB / 0.4907 GB, free: 8.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3491, allocations: 0 / 0.4907 GB, free: 8.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007057/0.3498, allocations: 143.5 kB / 0.4908 GB, free: 8.055 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 (24): * Single equations (assignments): 21 * 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.003687/0.3535, allocations: 1.626 MB / 0.4924 GB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3546, allocations: 477.8 kB / 0.4928 GB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3546, allocations: 0 / 0.4928 GB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.3551, allocations: 270.1 kB / 0.4931 GB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.3557, allocations: 88.81 kB / 0.4932 GB, free: 6.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.3672, allocations: 6.886 MB / 0.4999 GB, free: 2.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.3678, allocations: 0.9803 MB / 0.5009 GB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000265/0.3681, allocations: 81.72 kB / 0.5009 GB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.3684, allocations: 281.7 kB / 0.5012 GB, free: 1.473 MB / 366.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3684, allocations: 1.469 kB / 0.5012 GB, free: 1.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05389/0.4223, allocations: 14.84 MB / 0.5157 GB, free: 3.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.72, allocations: 3.125 kB / 0.5157 GB, free: 3.008 MB / 382.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceConnOO_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceConnOO.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe 2>&1)