Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.23/2.23, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 183.4 kB / 499.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 109.7 kB / 0.9329 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 53.72 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2539, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003491/0.2575, allocations: 2.308 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2588, allocations: 0.9456 MB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.259, allocations: 4 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005944/0.2596, allocations: 185.4 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.2598, allocations: 59.58 kB / 1.222 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.2601, allocations: 87.89 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.2604, allocations: 223 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.2606, allocations: 81.67 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.2607, allocations: 83.53 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.2608, allocations: 95.44 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.2609, allocations: 12 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.2611, allocations: 155.8 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.2613, allocations: 211.3 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.2614, allocations: 258 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.2619, allocations: 0.6887 MB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2619, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2619, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.262, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001172/0.2631, allocations: 0.9825 MB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2632, allocations: 15.98 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/0.2637, allocations: 111.9 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.2644, allocations: 0.5895 MB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2644, allocations: 8.375 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.2645, allocations: 16.38 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.2648, allocations: 203.6 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2648, allocations: 192 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.2649, allocations: 7.938 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2649, allocations: 4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.2653, allocations: 227.8 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.2663, allocations: 0.9177 MB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.2669, allocations: 318.4 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.2671, allocations: 108.9 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/0.2678, allocations: 236.9 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.2678, allocations: 34.56 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.2678, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0007562/0.2686, allocations: 400.5 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.2686, allocations: 55.41 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/0.2695, allocations: 0.9935 MB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2695, allocations: 29.7 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.2697, allocations: 344 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.2698, allocations: 31.55 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.2698, allocations: 29.7 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.2699, allocations: 314 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.2701, allocations: 87.95 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2703, allocations: 134.5 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.2706, allocations: 218.8 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2706, allocations: 4 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004673/0.2711, allocations: 324.4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2711, allocations: 5.094 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2711, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2712, allocations: 8.062 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.2713, allocations: 23.97 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2713, allocations: 4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.2715, allocations: 11.84 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2715, allocations: 7.984 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001874/0.2717, allocations: 250.3 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.2718, allocations: 75 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.2724, allocations: 332.4 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2724, allocations: 0 / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2724, allocations: 0 / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2724, allocations: 4 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.2728, allocations: 0.5208 MB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2728, allocations: 3.938 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.273, allocations: 19.98 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.273, allocations: 4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.273, allocations: 4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.273, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.273, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.2738, allocations: 1.234 MB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.2741, allocations: 184.3 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.2741, allocations: 0 / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.2743, allocations: 7.984 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.2743, allocations: 7.938 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2744, allocations: 19.92 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006657/0.275, allocations: 0.7137 MB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.275, allocations: 0 / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004466/0.2755, allocations: 71.84 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001765/0.2757, allocations: 115.2 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004363/0.2761, allocations: 215.8 kB / 1.234 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2761, allocations: 0 / 1.234 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.2763, allocations: 107.9 kB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.2767, allocations: 47.31 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.2783, allocations: 1.46 MB / 1.235 GB, free: 99.33 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.2786, allocations: 0.947 MB / 1.236 GB, free: 98.36 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000209/0.2788, allocations: 85.31 kB / 1.236 GB, free: 98.27 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.2789, allocations: 31.44 kB / 1.236 GB, free: 98.24 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.2789, allocations: 0 / 1.236 GB, free: 98.24 MB / 0.823 GB Notification: Performance of Templates: time 0.008469/0.2874, allocations: 4.37 MB / 1.24 GB, free: 93.88 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)