Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.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.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_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.001206/0.001206, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001257/0.001257, allocations: 192 kB / 16.25 MB, free: 6.629 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.283/1.283, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1456/0.1456, allocations: 8.029 MB / 298.1 MB, free: 2.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.91 kB / 360.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1022, allocations: 51.19 MB / 411.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004488/0.1068, allocations: 3.219 MB / 414.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1081, allocations: 0.7795 MB / 415.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.1083, allocations: 4 kB / 415.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.1088, allocations: 275.2 kB / 415.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.1092, allocations: 203.2 kB / 415.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.1098, allocations: 259.2 kB / 416.1 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.1103, allocations: 499 kB / 416.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.1107, allocations: 195.1 kB / 416.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.1109, allocations: 211.2 kB / 417 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.1112, allocations: 291 kB / 417.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.1113, allocations: 40 kB / 417.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.1114, allocations: 71.98 kB / 417.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.1116, allocations: 195.3 kB / 417.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.1118, allocations: 286.2 kB / 417.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.1125, allocations: 0.7007 MB / 418.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1125, allocations: 3.984 kB / 418.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1125, allocations: 0 / 418.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1125, allocations: 0 / 418.6 MB, free: 4.148 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001485/0.114, allocations: 1.013 MB / 419.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1141, allocations: 12.03 kB / 419.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.221e-05/0.1141, allocations: 66.72 kB / 419.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.1142, allocations: 80 kB / 419.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/0.1149, allocations: 0.5427 MB / 420.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.1149, allocations: 24.66 kB / 420.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.115, allocations: 32 kB / 420.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.1157, allocations: 377.2 kB / 420.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1157, allocations: 0 / 420.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.1158, allocations: 23.97 kB / 420.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1158, allocations: 12 kB / 420.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.1165, allocations: 262.3 kB / 421 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1872/0.3037, allocations: 1.668 MB / 422.7 MB, free: 43.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009333/0.3046, allocations: 284.4 kB / 423 MB, free: 43.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.3049, allocations: 113.7 kB / 423.1 MB, free: 43.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.305, allocations: 0 / 423.1 MB, free: 43.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004676/0.3055, allocations: 165.4 kB / 423.2 MB, free: 43.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.3055, allocations: 2.094 kB / 423.2 MB, free: 43.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001843/0.3073, allocations: 0.6437 MB / 423.9 MB, free: 43.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3074, allocations: 81.36 kB / 424 MB, free: 43.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/0.3083, allocations: 0.9718 MB / 424.9 MB, free: 43.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3083, allocations: 33.86 kB / 425 MB, free: 43.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.3085, allocations: 344 kB / 425.3 MB, free: 43.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.3085, allocations: 69.27 kB / 425.4 MB, free: 42.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/0.3086, allocations: 59.89 kB / 425.4 MB, free: 42.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.3087, allocations: 381.5 kB / 425.8 MB, free: 42.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.309, allocations: 113.1 kB / 425.9 MB, free: 42.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.3093, allocations: 192.8 kB / 426.1 MB, free: 42.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.3099, allocations: 324.4 kB / 426.4 MB, free: 42.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3099, allocations: 0 / 426.4 MB, free: 42.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001049/0.311, allocations: 0.4989 MB / 426.9 MB, free: 42.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.311, allocations: 32.23 kB / 427 MB, free: 42.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.311, allocations: 5.859 kB / 427 MB, free: 42.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.3113, allocations: 65.66 kB / 427 MB, free: 42.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.3115, allocations: 55.61 kB / 427.1 MB, free: 42.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.3133, allocations: 1.971 MB / 429.1 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.3136, allocations: 46.77 kB / 429.1 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.3136, allocations: 8.906 kB / 429.1 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004225/0.314, allocations: 313.4 kB / 429.4 MB, free: 40.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002635/0.3143, allocations: 183.5 kB / 429.6 MB, free: 40.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004807/0.3148, allocations: 308.4 kB / 429.9 MB, free: 40.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.3148, allocations: 0 / 429.9 MB, free: 40.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007332/0.3155, allocations: 435.1 kB / 430.3 MB, free: 40.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3156, allocations: 40.48 kB / 430.4 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.3156, allocations: 7.172 kB / 430.4 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.3157, allocations: 45.62 kB / 430.4 MB, free: 40.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.3159, allocations: 56.69 kB / 430.5 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000971/0.3169, allocations: 1.764 MB / 432.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.3172, allocations: 34.88 kB / 432.3 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.3172, allocations: 10.41 kB / 432.3 MB, free: 38.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.toKgFuel.local_reset,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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.0001055/0.3173, allocations: 206.5 kB / 432.5 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.3174, allocations: 59.31 kB / 432.5 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000871/0.3182, allocations: 405.2 kB / 432.9 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3183, allocations: 3.312 kB / 432.9 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.3183, allocations: 0 / 432.9 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3183, allocations: 1.875 kB / 432.9 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.3187, allocations: 492.6 kB / 433.4 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3187, allocations: 0 / 433.4 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.3189, allocations: 34.08 kB / 433.4 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/0.3191, allocations: 74.77 kB / 433.5 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3191, allocations: 6.562 kB / 433.5 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.3207, allocations: 1.961 MB / 435.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3207, allocations: 3 kB / 435.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.3218, allocations: 0.5108 MB / 436 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3219, allocations: 155.9 kB / 436.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.3219, allocations: 7.25 kB / 436.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.3222, allocations: 23.84 kB / 436.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.3223, allocations: 26.7 kB / 436.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3223, allocations: 14.5 kB / 436.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005824/0.3229, allocations: 0.7106 MB / 436.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3229, allocations: 0 / 436.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006755/0.3236, allocations: 187.8 kB / 437.1 MB, free: 35.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y,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 (15): * Single equations (assignments): 12 * 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.001909/0.3255, allocations: 1.316 MB / 438.4 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.327, allocations: 0.8167 MB / 439.2 MB, free: 34.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.327, allocations: 0 / 439.2 MB, free: 34.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.3275, allocations: 296.4 kB / 439.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.328, allocations: 79.72 kB / 439.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007593/0.3356, allocations: 6.479 MB / 446.1 MB, free: 30.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3359, allocations: 0.9287 MB / 447 MB, free: 30.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.3361, allocations: 59.44 kB / 447.1 MB, free: 30.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.3363, allocations: 214.4 kB / 447.3 MB, free: 29.93 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3363, allocations: 0 / 447.3 MB, free: 29.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.3638, allocations: 12.78 MB / 460.1 MB, free: 28.68 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.364, allocations: 259.9 kB / 460.3 MB, free: 28.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.315, allocations: 0 / 460.3 MB, free: 28.4 MB / 350.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestIceConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestIceConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)