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.001228/0.001228, allocations: 108 kB / 15.6 MB, free: 132 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.001232/0.001232, allocations: 194 kB / 16.53 MB, free: 6.391 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1512/0.1512, allocations: 8.024 MB / 298.4 MB, free: 2.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 63.89 kB / 360.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09482, allocations: 51.19 MB / 411.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004479/0.09933, allocations: 3.182 MB / 415.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1006, allocations: 0.799 MB / 415.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1008, allocations: 4 kB / 415.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.1013, allocations: 286.9 kB / 416.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.1016, allocations: 223 kB / 416.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.1022, allocations: 286.9 kB / 416.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000453/0.1027, allocations: 499.1 kB / 417.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.103, allocations: 199 kB / 417.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1032, allocations: 211.3 kB / 417.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.1035, allocations: 287 kB / 417.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.1036, allocations: 40 kB / 417.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1037, allocations: 63.94 kB / 418 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.1039, allocations: 191.4 kB / 418.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.1041, allocations: 290.2 kB / 418.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006424/0.1048, allocations: 0.7085 MB / 419.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1048, allocations: 4 kB / 419.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1048, allocations: 0 / 419.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1048, allocations: 0 / 419.1 MB, free: 3.699 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.001436/0.1062, allocations: 1.013 MB / 420.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1063, allocations: 12.03 kB / 420.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.368e-05/0.1064, allocations: 70.72 kB / 420.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1065, allocations: 76 kB / 420.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000586/0.1071, allocations: 0.5388 MB / 420.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.1071, allocations: 24.66 kB / 420.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.1072, allocations: 32 kB / 420.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.1078, allocations: 381.2 kB / 421.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1079, allocations: 0 / 421.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.1079, allocations: 12 kB / 421.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1079, allocations: 8 kB / 421.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006834/0.1086, allocations: 274.3 kB / 421.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1522/0.2608, allocations: 1.664 MB / 423.2 MB, free: 43.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008814/0.2617, allocations: 284.3 kB / 423.5 MB, free: 43.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.262, allocations: 109.6 kB / 423.6 MB, free: 43.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.262, allocations: 5.203 kB / 423.6 MB, free: 43.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.2625, allocations: 168.8 kB / 423.8 MB, free: 43.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.2625, allocations: 0 / 423.8 MB, free: 43.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001741/0.2643, allocations: 0.6414 MB / 424.4 MB, free: 43.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.2643, allocations: 84.61 kB / 424.5 MB, free: 43.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.2651, allocations: 0.9769 MB / 425.5 MB, free: 43.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.2651, allocations: 32.36 kB / 425.5 MB, free: 43.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.2653, allocations: 348.4 kB / 425.9 MB, free: 43.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.2654, allocations: 69.08 kB / 425.9 MB, free: 43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.2655, allocations: 57.02 kB / 426 MB, free: 42.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.2655, allocations: 375.7 kB / 426.3 MB, free: 42.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.2658, allocations: 116 kB / 426.5 MB, free: 42.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.2662, allocations: 193.3 kB / 426.6 MB, free: 42.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.2667, allocations: 320.5 kB / 427 MB, free: 42.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2667, allocations: 3.375 kB / 427 MB, free: 42.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009965/0.2677, allocations: 0.5032 MB / 427.5 MB, free: 42.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.2678, allocations: 32.3 kB / 427.5 MB, free: 42.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2678, allocations: 3.25 kB / 427.5 MB, free: 42.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.268, allocations: 71.69 kB / 427.6 MB, free: 42.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.2682, allocations: 49.91 kB / 427.6 MB, free: 42.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.27, allocations: 1.974 MB / 429.6 MB, free: 40.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.2703, allocations: 48.02 kB / 429.6 MB, free: 40.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.2703, allocations: 13.69 kB / 429.7 MB, free: 40.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003877/0.2707, allocations: 314.7 kB / 430 MB, free: 40.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002584/0.271, allocations: 179.7 kB / 430.1 MB, free: 40.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004778/0.2715, allocations: 309 kB / 430.4 MB, free: 40.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.2715, allocations: 3.281 kB / 430.4 MB, free: 40.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007235/0.2722, allocations: 431.2 kB / 430.9 MB, free: 40 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.2722, allocations: 34.7 kB / 430.9 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2722, allocations: 3.094 kB / 430.9 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.2723, allocations: 58.86 kB / 431 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.2725, allocations: 48.55 kB / 431 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009818/0.2735, allocations: 1.759 MB / 432.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.2738, allocations: 42.98 kB / 432.8 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.2738, allocations: 10.14 kB / 432.8 MB, free: 38.27 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.0001049/0.2739, allocations: 209 kB / 433 MB, free: 38.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.274, allocations: 57.31 kB / 433.1 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008731/0.2749, allocations: 396.6 kB / 433.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2749, allocations: 0 / 433.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2749, allocations: 7.125 kB / 433.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2749, allocations: 3.375 kB / 433.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.2753, allocations: 484.9 kB / 433.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2753, allocations: 3.938 kB / 433.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.2755, allocations: 35.62 kB / 434 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.2757, allocations: 75.92 kB / 434.1 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2757, allocations: 7.047 kB / 434.1 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.2773, allocations: 1.95 MB / 436 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2773, allocations: 7.438 kB / 436 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.2783, allocations: 0.509 MB / 436.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.2785, allocations: 157.6 kB / 436.7 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.2785, allocations: 10.88 kB / 436.7 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.2787, allocations: 24.16 kB / 436.7 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.2788, allocations: 32.48 kB / 436.7 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2788, allocations: 3.281 kB / 436.8 MB, free: 35.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005694/0.2794, allocations: 0.7137 MB / 437.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2794, allocations: 0 / 437.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006358/0.2801, allocations: 190 kB / 437.7 MB, free: 35.21 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.001996/0.2821, allocations: 1.322 MB / 439 MB, free: 34.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.2835, allocations: 0.81 MB / 439.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2835, allocations: 0 / 439.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.2841, allocations: 293.9 kB / 440.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.2845, allocations: 82.92 kB / 440.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006756/0.2913, allocations: 6.327 MB / 446.5 MB, free: 30.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.2916, allocations: 0.9251 MB / 447.4 MB, free: 29.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.2918, allocations: 61.19 kB / 447.5 MB, free: 29.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.292, allocations: 215 kB / 447.7 MB, free: 29.82 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.292, allocations: 0 / 447.7 MB, free: 29.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03614/0.3281, allocations: 12.99 MB / 460.7 MB, free: 28.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.25, allocations: 16.31 kB / 460.7 MB, free: 28.45 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)