Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006809/0.006809, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.175/0.175, allocations: 8.917 MB / 300.4 MB, free: 2.918 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003125, allocations: 8 kB / 363.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1061, allocations: 52.48 MB / 416.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005084/0.1112, allocations: 3.446 MB / 419.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.1142, allocations: 1.65 MB / 421.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.1145, allocations: 11.94 kB / 421.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.1151, allocations: 319.1 kB / 421.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005895/0.1157, allocations: 271 kB / 421.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008039/0.1165, allocations: 339.2 kB / 422.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007297/0.1172, allocations: 0.6471 MB / 422.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/0.1178, allocations: 288.7 kB / 423 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003371/0.1181, allocations: 238.8 kB / 423.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.1186, allocations: 330.6 kB / 423.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.1187, allocations: 20 kB / 423.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.1189, allocations: 67.98 kB / 423.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.1191, allocations: 282.9 kB / 423.9 MB, free: 308 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1764/0.2956, allocations: 439.5 kB / 424.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.2966, allocations: 1.111 MB / 425.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2966, allocations: 0 / 425.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2966, allocations: 1.406 kB / 425.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.2966, allocations: 1.594 kB / 425.5 MB, free: 35.7 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001768/0.2984, allocations: 1.261 MB / 426.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2985, allocations: 10.78 kB / 426.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.2986, allocations: 123.4 kB / 426.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008196/0.2994, allocations: 0.8387 MB / 427.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.2995, allocations: 34.5 kB / 427.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.2996, allocations: 55.72 kB / 427.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000817/0.3004, allocations: 0.4976 MB / 428.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.3004, allocations: 3.906 kB / 428.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.3004, allocations: 20.25 kB / 428.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3005, allocations: 8.812 kB / 428.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000803/0.3013, allocations: 380.7 kB / 428.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.3037, allocations: 2.136 MB / 430.8 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007649/0.3045, allocations: 365 kB / 431.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.3048, allocations: 155.9 kB / 431.3 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.3049, allocations: 8.219 kB / 431.3 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004368/0.3053, allocations: 209.2 kB / 431.5 MB, free: 33.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.454e-06/0.3053, allocations: 1.641 kB / 431.5 MB, free: 33.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001661/0.307, allocations: 0.7408 MB / 432.3 MB, free: 33.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.307, allocations: 57.97 kB / 432.3 MB, free: 33.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.3087, allocations: 1.646 MB / 434 MB, free: 33.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.3088, allocations: 36.05 kB / 434 MB, free: 33.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.3092, allocations: 0.496 MB / 434.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.3093, allocations: 95.05 kB / 434.6 MB, free: 32.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.3094, allocations: 48.89 kB / 434.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.3094, allocations: 325.3 kB / 435 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.3098, allocations: 152.1 kB / 435.1 MB, free: 32.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.3102, allocations: 224.2 kB / 435.3 MB, free: 32.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.3109, allocations: 399.8 kB / 435.7 MB, free: 32.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3109, allocations: 0 / 435.7 MB, free: 32.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001073/0.312, allocations: 0.5926 MB / 436.3 MB, free: 32.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.312, allocations: 32.39 kB / 436.4 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.312, allocations: 6.797 kB / 436.4 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.3123, allocations: 67.67 kB / 436.4 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.3126, allocations: 90.52 kB / 436.5 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.3139, allocations: 1.64 MB / 438.2 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.3142, allocations: 56.8 kB / 438.2 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.3142, allocations: 16.12 kB / 438.2 MB, free: 30.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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.0003579/0.3146, allocations: 392.2 kB / 438.6 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.3147, allocations: 97.09 kB / 438.7 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009834/0.3157, allocations: 0.4972 MB / 439.2 MB, free: 30.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3157, allocations: 2.844 kB / 439.2 MB, free: 30.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3157, allocations: 5.25 kB / 439.2 MB, free: 30.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3157, allocations: 6.891 kB / 439.2 MB, free: 30.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/0.3163, allocations: 0.7153 MB / 439.9 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3163, allocations: 0 / 439.9 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.3166, allocations: 52.58 kB / 440 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/0.3168, allocations: 70.33 kB / 440.1 MB, free: 30.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3168, allocations: 10.53 kB / 440.1 MB, free: 30.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.3179, allocations: 1.63 MB / 441.7 MB, free: 29.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3179, allocations: 3.25 kB / 441.7 MB, free: 29.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.3192, allocations: 0.6698 MB / 442.4 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.3194, allocations: 229.2 kB / 442.6 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.3195, allocations: 6.844 kB / 442.6 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.3197, allocations: 33.89 kB / 442.6 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.3198, allocations: 38.77 kB / 442.7 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.3198, allocations: 6.25 kB / 442.7 MB, free: 28.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001119/0.321, allocations: 1.188 MB / 443.9 MB, free: 28.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.321, allocations: 0 / 443.9 MB, free: 28.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005041/0.3215, allocations: 158.4 kB / 444 MB, free: 28.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.002233/0.3237, allocations: 0.6071 MB / 444.6 MB, free: 28.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009616/0.3247, allocations: 0.5316 MB / 445.2 MB, free: 28.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3247, allocations: 0 / 445.2 MB, free: 28.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.3252, allocations: 304.3 kB / 445.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.3258, allocations: 112.8 kB / 445.6 MB, free: 27.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.3283, allocations: 2.382 MB / 447.9 MB, free: 26.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.3288, allocations: 1.101 MB / 449.1 MB, free: 25.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.329, allocations: 117.4 kB / 449.2 MB, free: 25.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3291, allocations: 45.28 kB / 449.2 MB, free: 25.7 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3291, allocations: 0 / 449.2 MB, free: 25.7 MB / 350.1 MB Notification: Performance of Templates: time 0.01331/0.3425, allocations: 8.044 MB / 457.3 MB, free: 25.1 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1)