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: translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 109.6 kB / 16.41 MB, free: 6.52 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.001121/0.001121, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03965/0.03965, allocations: 8.04 MB / 299.3 MB, free: 6.801 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 413.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0811/0.08234, allocations: 51.19 MB / 464.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004649/0.08703, allocations: 3.184 MB / 468.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.08852, allocations: 0.8029 MB / 468.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.08876, allocations: 7.938 kB / 468.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.08928, allocations: 287 kB / 469.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004723/0.08976, allocations: 211 kB / 469.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.09042, allocations: 297.2 kB / 469.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.09099, allocations: 499.1 kB / 470.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.09133, allocations: 206.7 kB / 470.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.09162, allocations: 211.3 kB / 470.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.09195, allocations: 279 kB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.09203, allocations: 40 kB / 470.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.09218, allocations: 75.98 kB / 471 MB, free: 13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.09238, allocations: 187.4 kB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.09265, allocations: 294.1 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.09333, allocations: 0.7124 MB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.09335, allocations: 0 / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09336, allocations: 0 / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.691e-05/0.09339, allocations: 0 / 472.2 MB, free: 11.81 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.001648/0.09504, allocations: 1.013 MB / 473.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.09509, allocations: 8.031 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.09523, allocations: 76 kB / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007462/0.09598, allocations: 0.5353 MB / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.09601, allocations: 28.59 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.09608, allocations: 39.94 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/0.09686, allocations: 373.3 kB / 474.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.09689, allocations: 11.84 kB / 474.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.09694, allocations: 12 kB / 474.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.09695, allocations: 8 kB / 474.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007441/0.0977, allocations: 262.4 kB / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.1001, allocations: 1.659 MB / 476.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009677/0.1011, allocations: 286.5 kB / 476.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.1014, allocations: 112.7 kB / 476.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.1015, allocations: 4 kB / 476.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004514/0.1019, allocations: 167.2 kB / 476.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.395e-06/0.1019, allocations: 0 / 476.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001958/0.1039, allocations: 0.6493 MB / 477.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.104, allocations: 85.05 kB / 477.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.105, allocations: 0.9689 MB / 478.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.1051, allocations: 25.7 kB / 478.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.1053, allocations: 343.9 kB / 478.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.1055, allocations: 71 kB / 478.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/0.1056, allocations: 53.69 kB / 478.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1058, allocations: 382.8 kB / 479.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.1061, allocations: 113.1 kB / 479.4 MB, free: 4.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.1065, allocations: 192.2 kB / 479.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007611/0.1073, allocations: 318.9 kB / 479.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1073, allocations: 7.938 kB / 479.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001288/0.1086, allocations: 0.4911 MB / 480.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.1087, allocations: 37.69 kB / 480.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1087, allocations: 0 / 480.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.109, allocations: 64.98 kB / 480.5 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.1092, allocations: 55.89 kB / 480.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.1119, allocations: 1.97 MB / 482.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.1122, allocations: 43.8 kB / 482.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.1122, allocations: 16.06 kB / 482.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005385/0.1128, allocations: 312.3 kB / 482.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003461/0.1131, allocations: 187.2 kB / 483.1 MB, free: 292 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000668/0.1138, allocations: 297.8 kB / 483.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.1138, allocations: 0 / 483.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.001053/0.1149, allocations: 438.7 kB / 483.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.1149, allocations: 42 kB / 483.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.115, allocations: 3.938 kB / 483.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.1151, allocations: 52.83 kB / 483.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.1153, allocations: 51.89 kB / 483.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.1169, allocations: 1.76 MB / 485.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.1172, allocations: 35.83 kB / 485.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.1172, allocations: 11.98 kB / 485.8 MB, free: 13.41 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.0001691/0.1174, allocations: 205.3 kB / 486 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.1175, allocations: 55.25 kB / 486 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.1185, allocations: 391.8 kB / 486.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1186, allocations: 3.984 kB / 486.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1186, allocations: 4 kB / 486.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.1188, allocations: 148.3 kB / 486.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.1188, allocations: 4 kB / 486.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.1191, allocations: 23.97 kB / 486.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.1192, allocations: 31.95 kB / 486.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001339/0.1205, allocations: 471.6 kB / 487.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001129/0.1217, allocations: 0.5915 MB / 487.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003235/0.122, allocations: 114.7 kB / 487.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007492/0.1228, allocations: 0.706 MB / 488.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of Backend: time 1.663e-06/0.1228, allocations: 96 / 488.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002686/0.1255, allocations: 1.159 MB / 489.6 MB, free: 9.586 MB / 366.1 MB Notification: Performance of SimCode: time 0.002148/0.1276, allocations: 1.791 MB / 491.4 MB, free: 7.746 MB / 366.1 MB Notification: Performance of Templates: time 0.01365/0.1413, allocations: 7.353 MB / 498.8 MB, free: 424 kB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (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 & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)