Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001169/0.001169, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001577, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004017, allocations: 15.98 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7073, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002936/0.7103, allocations: 2.118 MB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.7128, allocations: 1.456 MB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.713, allocations: 7.938 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006613/0.7137, allocations: 225.1 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.7141, allocations: 131.4 kB / 1.028 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.7146, allocations: 163.5 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.7151, allocations: 322.9 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.7153, allocations: 88.69 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.7155, allocations: 111.4 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.7158, allocations: 147.2 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.7158, allocations: 4 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.716, allocations: 43.98 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.7161, allocations: 123.4 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.7163, allocations: 192.4 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.7168, allocations: 383 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7168, allocations: 0 / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.005e-06/0.7168, allocations: 4 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.7168, allocations: 0 / 1.029 GB, free: 10.37 MB / 0.7794 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.001173/0.718, allocations: 0.7388 MB / 1.03 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.718, allocations: 8.031 kB / 1.03 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.7182, allocations: 60.28 kB / 1.03 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.7187, allocations: 415.8 kB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.7187, allocations: 12.38 kB / 1.03 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.7188, allocations: 19.94 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.7191, allocations: 137.5 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7191, allocations: 3.938 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.7191, allocations: 11.98 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.7191, allocations: 4 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.7193, allocations: 83.95 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.7204, allocations: 0.6485 MB / 1.031 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.7208, allocations: 138.7 kB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.721, allocations: 44.84 kB / 1.031 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.721, allocations: 0 / 1.031 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.7212, allocations: 111.2 kB / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.7212, allocations: 0 / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0004537/0.7217, allocations: 212.9 kB / 1.032 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.7217, allocations: 55.41 kB / 1.032 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.7225, allocations: 0.6475 MB / 1.032 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.7225, allocations: 33.7 kB / 1.032 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.7227, allocations: 260.3 kB / 1.033 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.7228, allocations: 39.55 kB / 1.033 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.7229, allocations: 29.7 kB / 1.033 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.723, allocations: 370.8 kB / 1.033 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.7232, allocations: 79.91 kB / 1.033 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.7234, allocations: 124.3 kB / 1.033 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.7236, allocations: 125.6 kB / 1.033 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.7236, allocations: 4 kB / 1.033 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004158/0.724, allocations: 267.4 kB / 1.034 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.7241, allocations: 4 kB / 1.034 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7241, allocations: 4.062 kB / 1.034 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.7241, allocations: 4 kB / 1.034 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.7243, allocations: 35.92 kB / 1.034 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.7243, allocations: 0 / 1.034 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.7245, allocations: 39.81 kB / 1.034 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.7245, allocations: 11.94 kB / 1.034 GB, free: 5.398 MB / 0.7794 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.0002151/0.7248, allocations: 214.2 kB / 1.034 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.7248, allocations: 51.34 kB / 1.034 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.712e-05/0.7249, allocations: 60.66 kB / 1.034 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.725, allocations: 0 / 1.034 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.725, allocations: 3.938 kB / 1.034 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.725, allocations: 0 / 1.034 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.7253, allocations: 373.4 kB / 1.034 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.7254, allocations: 0 / 1.034 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.7254, allocations: 8 kB / 1.034 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.7254, allocations: 3.938 kB / 1.034 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.7255, allocations: 11.98 kB / 1.034 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.7255, allocations: 4 kB / 1.034 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7255, allocations: 0 / 1.034 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.7259, allocations: 256.3 kB / 1.035 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.726, allocations: 136.3 kB / 1.035 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/0.7261, allocations: 11.94 kB / 1.035 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.7263, allocations: 20.05 kB / 1.035 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.7263, allocations: 23.95 kB / 1.035 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.7264, allocations: 8 kB / 1.035 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004852/0.7269, allocations: 430.8 kB / 1.035 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7269, allocations: 0 / 1.035 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003009/0.7272, allocations: 56 kB / 1.035 GB, free: 3.668 MB / 0.7794 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.001014/0.7282, allocations: 426.3 kB / 1.036 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.7286, allocations: 155.8 kB / 1.036 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7286, allocations: 0 / 1.036 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.7287, allocations: 59.91 kB / 1.036 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.7292, allocations: 67.64 kB / 1.036 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.7306, allocations: 1.031 MB / 1.037 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.7311, allocations: 0.8535 MB / 1.038 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/0.7312, allocations: 35.42 kB / 1.038 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.7312, allocations: 0 / 1.038 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of Templates: time 0.008944/0.7401, allocations: 5.406 MB / 1.043 GB, free: 11.78 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)