Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.444/2.444, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001756/0.001756, allocations: 186.5 kB / 325.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.554/2.554, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001687/0.001686, allocations: 92.34 kB / 0.6813 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006878/0.0006883, allocations: 15.06 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2211, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003049/0.2242, allocations: 1.981 MB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.2265, allocations: 1.156 MB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.2267, allocations: 7.938 kB / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.2274, allocations: 195.2 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.2278, allocations: 123.5 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.2283, allocations: 117.7 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.2287, allocations: 271 kB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.229, allocations: 80.91 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.2292, allocations: 107.4 kB / 0.903 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.2294, allocations: 131.4 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.2295, allocations: 4 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.2297, allocations: 32 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.2298, allocations: 99.59 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.2299, allocations: 89.45 kB / 0.9033 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.2303, allocations: 359.4 kB / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2303, allocations: 4 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2303, allocations: 0 / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.2304, allocations: 0 / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001272/0.2316, allocations: 0.7193 MB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2317, allocations: 12.03 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.2318, allocations: 56.28 kB / 0.9044 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.2324, allocations: 372.4 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.2324, allocations: 20.34 kB / 0.9048 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.2325, allocations: 15.94 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.2329, allocations: 129.5 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2329, allocations: 0 / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.2329, allocations: 0 / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2329, allocations: 4 kB / 0.9049 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.2332, allocations: 88.55 kB / 0.905 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.2346, allocations: 0.6172 MB / 0.9056 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.2351, allocations: 126.7 kB / 0.9057 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.2353, allocations: 52.78 kB / 0.9058 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.2353, allocations: 4 kB / 0.9058 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.2356, allocations: 99.36 kB / 0.9059 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 3.075e-06/0.2356, allocations: 4 kB / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0006016/0.2363, allocations: 196.9 kB / 0.9061 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.2363, allocations: 51.41 kB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/0.2372, allocations: 0.628 MB / 0.9067 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.2373, allocations: 33.64 kB / 0.9068 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.2375, allocations: 252.3 kB / 0.907 GB, free: 57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.2375, allocations: 35.53 kB / 0.9071 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.2376, allocations: 4 kB / 0.9071 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2377, allocations: 366.8 kB / 0.9074 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.2379, allocations: 75.97 kB / 0.9075 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.2382, allocations: 117.6 kB / 0.9076 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.2384, allocations: 71.98 kB / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2384, allocations: 0 / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000601/0.239, allocations: 269.5 kB / 0.9079 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.239, allocations: 8 kB / 0.9079 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2391, allocations: 0 / 0.9079 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.2391, allocations: 0 / 0.9079 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.2394, allocations: 35.91 kB / 0.908 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.2394, allocations: 4.062 kB / 0.908 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.2397, allocations: 27.98 kB / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.2398, allocations: 8 kB / 0.908 GB, free: 55.97 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002939/0.2401, allocations: 205.7 kB / 0.9082 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.2402, allocations: 51.34 kB / 0.9082 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.2403, allocations: 60.5 kB / 0.9083 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2403, allocations: 0 / 0.9083 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2403, allocations: 0 / 0.9083 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2403, allocations: 0 / 0.9083 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.2407, allocations: 373.2 kB / 0.9087 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2407, allocations: 0 / 0.9087 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.2409, allocations: 11.98 kB / 0.9087 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2409, allocations: 0 / 0.9087 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.2409, allocations: 4 kB / 0.9087 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2409, allocations: 4 kB / 0.9087 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2409, allocations: 0 / 0.9087 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.2415, allocations: 244.4 kB / 0.9089 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2417, allocations: 128.5 kB / 0.909 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/0.2418, allocations: 8 kB / 0.909 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.242, allocations: 15.98 kB / 0.9091 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.2421, allocations: 19.91 kB / 0.9091 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.2421, allocations: 16.05 kB / 0.9091 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005918/0.2427, allocations: 410.8 kB / 0.9095 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2428, allocations: 0 / 0.9095 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003903/0.2432, allocations: 59.83 kB / 0.9095 GB, free: 54.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/0.2443, allocations: 418.3 kB / 0.9099 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.2448, allocations: 148.4 kB / 0.9101 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2449, allocations: 4.062 kB / 0.9101 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.245, allocations: 55.92 kB / 0.9101 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.2457, allocations: 59.42 kB / 0.9102 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.2472, allocations: 0.8891 MB / 0.9111 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.2476, allocations: 0.8497 MB / 0.9119 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000215/0.2479, allocations: 34.27 kB / 0.9119 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.248, allocations: 23.44 kB / 0.9119 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of SimCode: time 1.533e-06/0.248, allocations: 0 / 0.9119 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.01176/0.2598, allocations: 3.231 MB / 0.9151 GB, free: 48.71 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)