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.005696/0.005696, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.00123/0.00123, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0403/0.0403, allocations: 8.036 MB / 298.6 MB, free: 6.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 412.6 MB, free: 22.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08191/0.08325, allocations: 51.19 MB / 463.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004793/0.08808, allocations: 3.187 MB / 466.9 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.08962, allocations: 0.7989 MB / 467.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.0899, allocations: 8 kB / 467.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.09045, allocations: 298.9 kB / 468 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.09097, allocations: 211 kB / 468.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.09167, allocations: 298 kB / 468.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006105/0.09229, allocations: 491.2 kB / 469 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.09265, allocations: 201.6 kB / 469.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.09296, allocations: 215.3 kB / 469.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.09334, allocations: 283.1 kB / 469.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/0.09344, allocations: 40 kB / 469.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.0936, allocations: 71.98 kB / 469.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.0938, allocations: 191.3 kB / 470 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.09412, allocations: 290.2 kB / 470.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007929/0.09492, allocations: 0.7171 MB / 471 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.09494, allocations: 0 / 471 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09495, allocations: 0 / 471 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.926e-05/0.09498, allocations: 0 / 471 MB, free: 12.28 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.001815/0.0968, allocations: 1.029 MB / 472 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.09686, allocations: 12.03 kB / 472 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.669e-05/0.09697, allocations: 70.66 kB / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.09712, allocations: 76 kB / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008878/0.09802, allocations: 0.5506 MB / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.09806, allocations: 20.66 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.09812, allocations: 32 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007294/0.09886, allocations: 377.2 kB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.09889, allocations: 4 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.09894, allocations: 12 kB / 473.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.09895, allocations: 11.98 kB / 473.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006962/0.09966, allocations: 266.4 kB / 473.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.102, allocations: 1.667 MB / 475.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009037/0.1029, allocations: 282.7 kB / 475.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.1032, allocations: 112.8 kB / 475.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.1033, allocations: 0 / 475.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/0.1037, allocations: 167.2 kB / 475.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.913e-06/0.1037, allocations: 0 / 475.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001958/0.1057, allocations: 0.6454 MB / 476.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.1057, allocations: 81.11 kB / 476.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.1068, allocations: 0.9728 MB / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.1068, allocations: 29.7 kB / 477.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.1071, allocations: 344 kB / 477.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.1072, allocations: 74.98 kB / 477.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1073, allocations: 57.61 kB / 477.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1075, allocations: 374.8 kB / 478.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.1078, allocations: 121 kB / 478.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.1082, allocations: 188.1 kB / 478.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/0.1089, allocations: 322.6 kB / 478.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.1089, allocations: 0 / 478.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001233/0.1101, allocations: 0.5067 MB / 479.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.1102, allocations: 41.62 kB / 479.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1102, allocations: 0 / 479.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002743/0.1105, allocations: 60.77 kB / 479.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.1107, allocations: 47.95 kB / 479.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.1131, allocations: 1.986 MB / 481.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.1135, allocations: 43.75 kB / 481.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.1135, allocations: 8 kB / 481.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005582/0.1141, allocations: 312.3 kB / 481.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003485/0.1144, allocations: 187.3 kB / 482 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000582/0.115, allocations: 313.7 kB / 482.3 MB, free: 304 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.1151, allocations: 0 / 482.3 MB, free: 304 kB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009567/0.116, allocations: 431 kB / 482.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.1161, allocations: 33.7 kB / 482.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1161, allocations: 3.984 kB / 482.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.1162, allocations: 44.84 kB / 482.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.1165, allocations: 55.89 kB / 482.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.118, allocations: 1.756 MB / 484.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.1184, allocations: 39.84 kB / 484.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.1184, allocations: 12 kB / 484.7 MB, free: 13.77 MB / 366.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.0001608/0.1186, allocations: 208.3 kB / 484.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.1187, allocations: 59.25 kB / 484.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009808/0.1197, allocations: 391.8 kB / 485.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1197, allocations: 0 / 485.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1197, allocations: 0 / 485.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1197, allocations: 3.984 kB / 485.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.1203, allocations: 0.4893 MB / 485.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1203, allocations: 0 / 485.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.1205, allocations: 31.97 kB / 485.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/0.1208, allocations: 72.8 kB / 485.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.1208, allocations: 11.98 kB / 485.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.123, allocations: 1.955 MB / 487.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.123, allocations: 0 / 487.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.1243, allocations: 0.5149 MB / 488.4 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.1245, allocations: 152.3 kB / 488.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.1245, allocations: 8 kB / 488.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.1248, allocations: 31.91 kB / 488.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.1249, allocations: 27.91 kB / 488.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.1249, allocations: 11.98 kB / 488.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008434/0.1257, allocations: 0.706 MB / 489.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1257, allocations: 0 / 489.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007859/0.1265, allocations: 187.4 kB / 489.5 MB, free: 8.688 MB / 366.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.002342/0.1289, allocations: 1.326 MB / 490.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.1307, allocations: 0.8025 MB / 491.6 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1307, allocations: 0 / 491.6 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000609/0.1313, allocations: 295.2 kB / 491.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.1319, allocations: 90.86 kB / 492 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009499/0.1414, allocations: 6.113 MB / 498.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.1421, allocations: 0.9256 MB / 499.1 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.1423, allocations: 63.25 kB / 499.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.1426, allocations: 211.4 kB / 499.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1426, allocations: 0 / 499.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/0.1821, allocations: 13.28 MB / 0.5006 GB, free: 1.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.22, allocations: 3.984 kB / 0.5006 GB, free: 1.586 MB / 382.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)