Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 103.9 kB / 15.98 MB, free: 6.355 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.001925/0.001925, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.428/1.428, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 482.4 MB / 0.755 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.00197, allocations: 66.86 kB / 0.924 GB, free: 324 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8161/0.8181, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004192/0.8223, allocations: 2.476 MB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.825, allocations: 1.477 MB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.8253, allocations: 8.062 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000827/0.8262, allocations: 225.8 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.8267, allocations: 142.1 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.8273, allocations: 164.5 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005027/0.8278, allocations: 348.3 kB / 1.087 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.828, allocations: 91.23 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.8283, allocations: 137.3 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.8285, allocations: 162.1 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.8286, allocations: 22.09 kB / 1.088 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.8287, allocations: 67.17 kB / 1.088 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.8289, allocations: 126.2 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.8291, allocations: 190 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006335/0.8298, allocations: 399.9 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8298, allocations: 5.031 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8298, allocations: 4 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.8298, allocations: 0 / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001519/0.8313, allocations: 0.7983 MB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.8314, allocations: 9.031 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.8315, allocations: 54.84 kB / 1.089 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.8321, allocations: 431.4 kB / 1.09 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.8321, allocations: 17.2 kB / 1.09 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.8322, allocations: 18.06 kB / 1.09 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.8325, allocations: 126.6 kB / 1.09 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.8325, allocations: 0 / 1.09 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.8326, allocations: 5.953 kB / 1.09 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.8326, allocations: 3.688 kB / 1.09 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.8328, allocations: 81.94 kB / 1.09 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.834, allocations: 0.6376 MB / 1.09 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.8344, allocations: 134.7 kB / 1.091 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.8346, allocations: 47.61 kB / 1.091 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.8346, allocations: 9.266 kB / 1.091 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.8349, allocations: 102.2 kB / 1.091 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.522e-06/0.8349, allocations: 4 kB / 1.091 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0005187/0.8354, allocations: 213.4 kB / 1.091 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.8354, allocations: 53.31 kB / 1.091 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009128/0.8364, allocations: 0.6491 MB / 1.092 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.8364, allocations: 35.95 kB / 1.092 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.8367, allocations: 258.5 kB / 1.092 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.8367, allocations: 35.95 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.8369, allocations: 53.22 kB / 1.092 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.8371, allocations: 373.2 kB / 1.092 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.8373, allocations: 79.47 kB / 1.092 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.8375, allocations: 117.9 kB / 1.092 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.8377, allocations: 130.1 kB / 1.093 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.8377, allocations: 0 / 1.093 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004727/0.8382, allocations: 272.7 kB / 1.093 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.8383, allocations: 8.906 kB / 1.093 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8383, allocations: 1.859 kB / 1.093 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.8383, allocations: 5.375 kB / 1.093 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.8385, allocations: 43.3 kB / 1.093 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.8385, allocations: 1.312 kB / 1.093 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.8387, allocations: 29.94 kB / 1.093 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.8387, allocations: 6.031 kB / 1.093 GB, free: 10.82 MB / 0.8419 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 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.839, allocations: 215.7 kB / 1.093 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.8391, allocations: 51 kB / 1.093 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.8392, allocations: 56.27 kB / 1.093 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.8392, allocations: 1.547 kB / 1.093 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.8393, allocations: 0.9062 kB / 1.093 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.8393, allocations: 0.7969 kB / 1.093 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.8398, allocations: 380.2 kB / 1.094 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8398, allocations: 0 / 1.094 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.455e-05/0.8399, allocations: 12.61 kB / 1.094 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.8399, allocations: 1.094 kB / 1.094 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.8399, allocations: 3.594 kB / 1.094 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.8399, allocations: 0.8438 kB / 1.094 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.8399, allocations: 0 / 1.094 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.8405, allocations: 268.8 kB / 1.094 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.8406, allocations: 126.3 kB / 1.094 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.8407, allocations: 6.938 kB / 1.094 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.8408, allocations: 20.06 kB / 1.094 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.8409, allocations: 21.05 kB / 1.094 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.8409, allocations: 5.766 kB / 1.094 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005835/0.8415, allocations: 428.4 kB / 1.094 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8415, allocations: 0 / 1.094 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003368/0.8419, allocations: 65.39 kB / 1.095 GB, free: 9.855 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001579/0.8435, allocations: 433 kB / 1.095 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000419/0.8439, allocations: 154.8 kB / 1.095 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8439, allocations: 0 / 1.095 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.844, allocations: 57.59 kB / 1.095 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.8445, allocations: 78.41 kB / 1.095 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.8463, allocations: 1.006 MB / 1.096 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005914/0.8469, allocations: 0.8533 MB / 1.097 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.847, allocations: 31.45 kB / 1.097 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.847, allocations: 3.938 kB / 1.097 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of Templates: time 0.01207/0.8591, allocations: 5.421 MB / 1.102 GB, free: 7.281 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)