Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_MapBased_TestingModels_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceConn,fileNamePrefix="EHPTlib_latest_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.0009665/0.0009665, 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.001042/0.001042, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.215/1.215, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.129/0.129, allocations: 8.025 MB / 298.1 MB, free: 2.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 59.91 kB / 360.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09154, allocations: 51.2 MB / 411.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004337/0.09591, allocations: 3.211 MB / 414.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.09716, allocations: 0.7873 MB / 415.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.09731, allocations: 4 kB / 415.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.09776, allocations: 271.3 kB / 415.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.09813, allocations: 195.3 kB / 415.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.09868, allocations: 267.2 kB / 416.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.09917, allocations: 499.1 kB / 416.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.09948, allocations: 199 kB / 416.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.09969, allocations: 211.3 kB / 417 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.09998, allocations: 287 kB / 417.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.1, allocations: 40 kB / 417.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1002, allocations: 75.97 kB / 417.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.1004, allocations: 183.4 kB / 417.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.1006, allocations: 302.2 kB / 417.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.1012, allocations: 0.689 MB / 418.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1012, allocations: 4 kB / 418.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1013, allocations: 0 / 418.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1013, allocations: 0 / 418.6 MB, free: 4.145 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.001438/0.1027, allocations: 1.021 MB / 419.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1028, allocations: 8.031 kB / 419.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.755e-05/0.1028, allocations: 74.72 kB / 419.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1029, allocations: 76 kB / 419.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.1035, allocations: 0.5388 MB / 420.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.1036, allocations: 24.66 kB / 420.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.1036, allocations: 32 kB / 420.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.1043, allocations: 377.2 kB / 420.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1044, allocations: 4 kB / 420.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.1044, allocations: 12 kB / 420.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1044, allocations: 12 kB / 420.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006602/0.1051, allocations: 262.4 kB / 421 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1596/0.2647, allocations: 1.679 MB / 422.7 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/0.2656, allocations: 285.2 kB / 423 MB, free: 44.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.2659, allocations: 110.9 kB / 423.1 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.2659, allocations: 2.812 kB / 423.1 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.2664, allocations: 164.8 kB / 423.3 MB, free: 44.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.2664, allocations: 0 / 423.3 MB, free: 44.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001714/0.2681, allocations: 0.6438 MB / 423.9 MB, free: 44.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.2682, allocations: 80.7 kB / 424 MB, free: 43.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008489/0.269, allocations: 0.9745 MB / 424.9 MB, free: 43.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.2691, allocations: 32.08 kB / 425 MB, free: 43.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.2693, allocations: 347.1 kB / 425.3 MB, free: 43.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.2693, allocations: 71.47 kB / 425.4 MB, free: 43.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.2694, allocations: 58.06 kB / 425.4 MB, free: 43.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.2695, allocations: 378.8 kB / 425.8 MB, free: 43.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.2698, allocations: 117.8 kB / 425.9 MB, free: 43.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.2701, allocations: 189.7 kB / 426.1 MB, free: 43.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.2706, allocations: 325.7 kB / 426.4 MB, free: 43.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2706, allocations: 1.656 kB / 426.4 MB, free: 43.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00102/0.2717, allocations: 0.4963 MB / 426.9 MB, free: 42.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.2717, allocations: 36.3 kB / 427 MB, free: 42.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.2717, allocations: 0 / 427 MB, free: 42.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.272, allocations: 67.25 kB / 427 MB, free: 42.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2722, allocations: 50.56 kB / 427.1 MB, free: 42.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.2739, allocations: 1.964 MB / 429 MB, free: 41.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.2742, allocations: 58.11 kB / 429.1 MB, free: 41.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.2742, allocations: 9.75 kB / 429.1 MB, free: 41.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003895/0.2746, allocations: 314.6 kB / 429.4 MB, free: 41.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000252/0.2748, allocations: 179.1 kB / 429.6 MB, free: 41.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004567/0.2753, allocations: 312.4 kB / 429.9 MB, free: 40.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.2753, allocations: 4 kB / 429.9 MB, free: 40.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007033/0.276, allocations: 429 kB / 430.3 MB, free: 40.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2761, allocations: 40.55 kB / 430.4 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2761, allocations: 4.094 kB / 430.4 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/0.2762, allocations: 51.02 kB / 430.4 MB, free: 40.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.2764, allocations: 44.86 kB / 430.5 MB, free: 40.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000871/0.2773, allocations: 1.772 MB / 432.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.2775, allocations: 41.66 kB / 432.3 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2775, allocations: 9.594 kB / 432.3 MB, free: 38.94 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 9.046e-05/0.2776, allocations: 196.1 kB / 432.5 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.2777, allocations: 59.25 kB / 432.5 MB, free: 38.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008658/0.2786, allocations: 396.1 kB / 432.9 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.2786, allocations: 3.312 kB / 432.9 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.2786, allocations: 0 / 432.9 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2786, allocations: 1.359 kB / 432.9 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.279, allocations: 0.4947 MB / 433.4 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.279, allocations: 0 / 433.4 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.2792, allocations: 39.75 kB / 433.5 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.2794, allocations: 72.41 kB / 433.5 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.2794, allocations: 0 / 433.5 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.281, allocations: 1.956 MB / 435.5 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.281, allocations: 0 / 435.5 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.2821, allocations: 0.513 MB / 436 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/0.2822, allocations: 160.4 kB / 436.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.2823, allocations: 7.25 kB / 436.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.2825, allocations: 23.25 kB / 436.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.2826, allocations: 27.11 kB / 436.2 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.2826, allocations: 10.59 kB / 436.2 MB, free: 36.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005349/0.2831, allocations: 0.7085 MB / 436.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2831, allocations: 0 / 436.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006216/0.2838, allocations: 193.2 kB / 437.1 MB, free: 35.89 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.001985/0.2858, allocations: 1.319 MB / 438.4 MB, free: 35.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.2872, allocations: 0.8143 MB / 439.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2872, allocations: 0.8125 kB / 439.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.2877, allocations: 295.1 kB / 439.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.2881, allocations: 76.2 kB / 439.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007344/0.2955, allocations: 6.488 MB / 446.1 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2958, allocations: 0.9217 MB / 447 MB, free: 30.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.296, allocations: 70.36 kB / 447.1 MB, free: 30.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.2962, allocations: 211.8 kB / 447.3 MB, free: 30.32 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2962, allocations: 0 / 447.3 MB, free: 30.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.3262, allocations: 12.77 MB / 460.1 MB, free: 29.07 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.3264, allocations: 276.5 kB / 460.3 MB, free: 28.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.135, allocations: 0 / 460.3 MB, free: 28.71 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceConn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)