Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",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.001689/0.001689, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001896/0.001896, allocations: 198.1 kB / 16.26 MB, free: 6.625 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1389/0.1389, allocations: 8.934 MB / 299 MB, free: 2.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 63.89 kB / 361.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09404, allocations: 51.49 MB / 412.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005503/0.09958, allocations: 3.765 MB / 416.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1013, allocations: 1.055 MB / 417.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.1015, allocations: 8 kB / 417.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.1021, allocations: 319.1 kB / 418 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005035/0.1026, allocations: 263 kB / 418.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006805/0.1033, allocations: 330.9 kB / 418.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000712/0.104, allocations: 0.659 MB / 419.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/0.1045, allocations: 279.6 kB / 419.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.1048, allocations: 282.9 kB / 419.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004085/0.1053, allocations: 374.6 kB / 420.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.836e-05/0.1053, allocations: 60 kB / 420.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.1055, allocations: 115.9 kB / 420.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.1058, allocations: 311 kB / 420.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.1062, allocations: 461.1 kB / 421.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.1073, allocations: 1.137 MB / 422.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1073, allocations: 0 / 422.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.1073, allocations: 0 / 422.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1074, allocations: 0 / 422.3 MB, free: 0.5078 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.15/0.2574, allocations: 1.402 MB / 423.7 MB, free: 43.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2574, allocations: 14.11 kB / 423.7 MB, free: 43.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.016e-05/0.2575, allocations: 81.36 kB / 423.8 MB, free: 43.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.2577, allocations: 118.2 kB / 423.9 MB, free: 43.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008402/0.2585, allocations: 0.826 MB / 424.7 MB, free: 42.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.2585, allocations: 31.88 kB / 424.7 MB, free: 42.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.2586, allocations: 43.52 kB / 424.8 MB, free: 42.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.2593, allocations: 438.2 kB / 425.2 MB, free: 42.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.2594, allocations: 6.5 kB / 425.2 MB, free: 42.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.2594, allocations: 14.03 kB / 425.2 MB, free: 42.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.2594, allocations: 10.75 kB / 425.2 MB, free: 42.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006962/0.2601, allocations: 314.6 kB / 425.5 MB, free: 42.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.2622, allocations: 2.006 MB / 427.5 MB, free: 41.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.2629, allocations: 322.4 kB / 427.9 MB, free: 41.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.2632, allocations: 127.4 kB / 428 MB, free: 41.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.2633, allocations: 5.703 kB / 428 MB, free: 41.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000371/0.2636, allocations: 179.3 kB / 428.2 MB, free: 41.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.2637, allocations: 2.719 kB / 428.2 MB, free: 41.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001472/0.2651, allocations: 0.6345 MB / 428.8 MB, free: 41.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.2652, allocations: 56.17 kB / 428.9 MB, free: 41.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.2666, allocations: 1.651 MB / 430.5 MB, free: 40.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.2666, allocations: 33.7 kB / 430.5 MB, free: 40.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.2669, allocations: 493.7 kB / 431 MB, free: 40.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.267, allocations: 82.05 kB / 431.1 MB, free: 40.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.183e-05/0.2671, allocations: 74.11 kB / 431.2 MB, free: 40.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.2671, allocations: 323.6 kB / 431.5 MB, free: 39.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.2674, allocations: 122.6 kB / 431.6 MB, free: 39.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.2677, allocations: 193.4 kB / 431.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.2683, allocations: 342.2 kB / 432.1 MB, free: 39.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2683, allocations: 1.75 kB / 432.1 MB, free: 39.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009374/0.2693, allocations: 0.5432 MB / 432.7 MB, free: 39.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.2693, allocations: 36.27 kB / 432.7 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2693, allocations: 7.188 kB / 432.7 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.2696, allocations: 62.66 kB / 432.8 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.2699, allocations: 68.52 kB / 432.8 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.2711, allocations: 1.827 MB / 434.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.2714, allocations: 46.58 kB / 434.7 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.2714, allocations: 13 kB / 434.7 MB, free: 37.5 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: 6 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$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 (40): * Single equations (assignments): 38 * 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.0002948/0.2717, allocations: 377.8 kB / 435.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-05/0.2718, allocations: 93.91 kB / 435.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008472/0.2727, allocations: 456.3 kB / 435.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2727, allocations: 3.219 kB / 435.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.2727, allocations: 0 / 435.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2727, allocations: 0 / 435.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.2732, allocations: 0.6945 MB / 436.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2732, allocations: 0.7656 kB / 436.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.2735, allocations: 51.38 kB / 436.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.2736, allocations: 60.12 kB / 436.4 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.2737, allocations: 0 / 436.4 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.2748, allocations: 1.814 MB / 438.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2748, allocations: 0 / 438.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.2758, allocations: 0.5723 MB / 438.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.276, allocations: 221.8 kB / 439.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.301e-05/0.2761, allocations: 7.938 kB / 439.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.2764, allocations: 22.88 kB / 439.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.2765, allocations: 30.45 kB / 439.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.2765, allocations: 7.953 kB / 439.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.2776, allocations: 1.194 MB / 440.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2776, allocations: 0 / 440.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000486/0.2781, allocations: 151 kB / 440.5 MB, free: 34.11 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: 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 (21): * Single equations (assignments): 18 * 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.00341/0.2815, allocations: 1.618 MB / 442.1 MB, free: 33.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008811/0.2824, allocations: 0.4898 MB / 442.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2824, allocations: 0 / 442.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.2828, allocations: 265.7 kB / 442.8 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.2834, allocations: 122 kB / 442.9 MB, free: 32.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.296, allocations: 10.6 MB / 453.6 MB, free: 27.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.2965, allocations: 1.092 MB / 454.6 MB, free: 26.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.2967, allocations: 122.5 kB / 454.8 MB, free: 26.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.297, allocations: 353.8 kB / 455.1 MB, free: 26.51 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2971, allocations: 0 / 455.1 MB, free: 26.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04082/0.3379, allocations: 18.47 MB / 473.6 MB, free: 23.85 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.3381, allocations: 279.5 kB / 473.9 MB, free: 23.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.627, allocations: 0 / 473.9 MB, free: 23.48 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1)