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.006783/0.006783, allocations: 108.3 kB / 15.74 MB, free: 6.449 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.001368/0.001368, allocations: 196 kB / 16.67 MB, free: 6.355 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.19/0.19, allocations: 8.025 MB / 298.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 59.91 kB / 413.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3043, allocations: 51.2 MB / 464.3 MB, free: 18.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.005803/0.3101, allocations: 3.181 MB / 467.4 MB, free: 16.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.312, allocations: 0.7996 MB / 468.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.3124, allocations: 5.219 kB / 468.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.313, allocations: 283.2 kB / 468.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.3137, allocations: 229.2 kB / 468.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007617/0.3144, allocations: 291.4 kB / 469 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006076/0.3151, allocations: 0.4891 MB / 469.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.3154, allocations: 201.9 kB / 469.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.3158, allocations: 215.8 kB / 469.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004042/0.3162, allocations: 275.3 kB / 470.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.534e-05/0.3163, allocations: 40.25 kB / 470.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.3164, allocations: 75.22 kB / 470.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.3167, allocations: 186.7 kB / 470.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.3169, allocations: 299.2 kB / 470.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008534/0.3178, allocations: 0.7115 MB / 471.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3178, allocations: 0.7031 kB / 471.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3178, allocations: 0 / 471.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3178, allocations: 1.031 kB / 471.5 MB, free: 14.04 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.001632/0.3194, allocations: 1.02 MB / 472.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3195, allocations: 8.812 kB / 472.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.3197, allocations: 76.84 kB / 472.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000794/0.3205, allocations: 0.5272 MB / 473.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.3205, allocations: 26.52 kB / 473.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.3206, allocations: 34.78 kB / 473.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.3213, allocations: 379 kB / 473.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3213, allocations: 5.406 kB / 473.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.3214, allocations: 12.3 kB / 473.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3214, allocations: 16.97 kB / 473.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.3222, allocations: 258.7 kB / 473.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.3243, allocations: 1.665 MB / 475.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009355/0.3253, allocations: 287.6 kB / 475.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.3256, allocations: 107.6 kB / 475.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.3257, allocations: 2.75 kB / 475.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004577/0.3261, allocations: 169.1 kB / 476.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/0.3262, allocations: 3.938 kB / 476.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00202/0.3282, allocations: 0.6436 MB / 476.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3282, allocations: 81.14 kB / 476.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.3295, allocations: 0.9666 MB / 477.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.3295, allocations: 28.3 kB / 477.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.3297, allocations: 348 kB / 478.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.3298, allocations: 70.91 kB / 478.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.3299, allocations: 55.2 kB / 478.2 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.33, allocations: 375.7 kB / 478.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.3303, allocations: 113.6 kB / 478.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.3307, allocations: 198.6 kB / 478.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.3314, allocations: 312.4 kB / 479.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3314, allocations: 5.594 kB / 479.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001265/0.3327, allocations: 0.4975 MB / 479.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.3327, allocations: 32.86 kB / 479.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3327, allocations: 6.875 kB / 479.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.333, allocations: 61.53 kB / 479.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.3333, allocations: 59.98 kB / 479.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.3353, allocations: 1.972 MB / 481.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.3356, allocations: 42.81 kB / 481.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.3357, allocations: 12.78 kB / 481.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000521/0.3362, allocations: 321.7 kB / 482.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003273/0.3365, allocations: 179.8 kB / 482.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005759/0.3371, allocations: 308.2 kB / 482.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.3371, allocations: 4.953 kB / 482.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009204/0.3381, allocations: 433.3 kB / 483.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.3381, allocations: 33.55 kB / 483.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3381, allocations: 2.562 kB / 483.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.3383, allocations: 53.58 kB / 483.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.3385, allocations: 51.11 kB / 483.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.3396, allocations: 1.756 MB / 485 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.3399, allocations: 40.53 kB / 485.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.3399, allocations: 8.969 kB / 485.1 MB, free: 4.309 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.0001291/0.3401, allocations: 206.7 kB / 485.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/0.3402, allocations: 58.97 kB / 485.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.3412, allocations: 395.8 kB / 485.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3413, allocations: 2 kB / 485.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3413, allocations: 0 / 485.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3413, allocations: 3.984 kB / 485.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.3419, allocations: 494.5 kB / 486.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3419, allocations: 1.062 kB / 486.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.3421, allocations: 36.25 kB / 486.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.3424, allocations: 77.59 kB / 486.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.3425, allocations: 6.062 kB / 486.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.3444, allocations: 1.957 MB / 488.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3444, allocations: 0 / 488.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.3457, allocations: 0.5139 MB / 488.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3458, allocations: 148.7 kB / 488.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.3459, allocations: 6.656 kB / 488.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.3461, allocations: 24.34 kB / 489 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.3462, allocations: 30.89 kB / 489 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.3463, allocations: 12.06 kB / 489 MB, free: 1.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008127/0.3471, allocations: 0.7011 MB / 489.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.3471, allocations: 4 kB / 489.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000836/0.3479, allocations: 194.4 kB / 489.9 MB, free: 0.7031 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.0008126/0.3488, allocations: 363.3 kB / 490.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.3508, allocations: 0.7929 MB / 491 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3508, allocations: 1.906 kB / 491 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.3515, allocations: 294.4 kB / 491.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.3521, allocations: 86.14 kB / 491.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.3547, allocations: 1.325 MB / 492.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.3554, allocations: 0.9237 MB / 493.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.3556, allocations: 66.19 kB / 493.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.502e-05/0.3557, allocations: 28.53 kB / 493.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3557, allocations: 5.062 kB / 493.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Templates: time 0.01558/0.3713, allocations: 6.529 MB / 0.4886 GB, free: 8.504 MB / 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)