Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002066/0.002066, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001281, allocations: 63.05 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3325, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003602/0.3361, allocations: 2.305 MB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3374, allocations: 0.9287 MB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.3375, allocations: 3.938 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.3381, allocations: 183.3 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3382, allocations: 59.62 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.3386, allocations: 103.8 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.3388, allocations: 223.1 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.339, allocations: 97.61 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.3391, allocations: 87.52 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3393, allocations: 111.4 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.3393, allocations: 16 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.3396, allocations: 143.8 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.3398, allocations: 215.4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.34, allocations: 266 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.3406, allocations: 0.7043 MB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3407, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3407, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3407, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 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.001193/0.3419, allocations: 0.9825 MB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3419, allocations: 8.031 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005655/0.3425, allocations: 119.8 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/0.3433, allocations: 0.5856 MB / 1.075 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3434, allocations: 8.375 kB / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.3434, allocations: 16.36 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.3439, allocations: 190.9 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3439, allocations: 192 / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.3439, allocations: 7.938 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3439, allocations: 8 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.3444, allocations: 227.9 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.3457, allocations: 0.9254 MB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.3463, allocations: 310.6 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.3466, allocations: 104.9 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000743/0.3473, allocations: 248.8 kB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3474, allocations: 34.56 kB / 1.077 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 3.496e-06/0.3474, allocations: 0 / 1.077 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0008202/0.3482, allocations: 400.8 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3482, allocations: 59.5 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.3495, allocations: 0.9974 MB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3495, allocations: 25.7 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.3498, allocations: 348 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.3498, allocations: 35.45 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.3499, allocations: 25.72 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.35, allocations: 314 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3502, allocations: 95.95 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.3505, allocations: 122.5 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.3509, allocations: 214.4 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3509, allocations: 4 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005595/0.3515, allocations: 328.5 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3515, allocations: 4 kB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3515, allocations: 0 / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3515, allocations: 4 kB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3517, allocations: 19.98 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3517, allocations: 4 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.3519, allocations: 7.984 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3519, allocations: 12.06 kB / 1.08 GB, free: 14.38 MB / 0.8419 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.0002729/0.3522, allocations: 253.7 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/0.3523, allocations: 75 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.3529, allocations: 324.5 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3529, allocations: 96 / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3529, allocations: 3.938 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.353, allocations: 11.92 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.3535, allocations: 0.5285 MB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3535, allocations: 3.938 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.3537, allocations: 19.98 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3537, allocations: 0 / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3537, allocations: 7.984 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3537, allocations: 0 / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3537, allocations: 0 / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.3543, allocations: 402.5 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.3545, allocations: 188.1 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.3545, allocations: 0 / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.3547, allocations: 4 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.3548, allocations: 11.98 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3548, allocations: 4 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008555/0.3557, allocations: 0.7176 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3557, allocations: 0 / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003584/0.356, allocations: 71.84 kB / 1.082 GB, free: 11.68 MB / 0.8419 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.000231/0.3563, allocations: 115.2 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.3568, allocations: 223.8 kB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3568, allocations: 0 / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.357, allocations: 107.9 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.3574, allocations: 59.56 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3593, allocations: 1.338 MB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.3599, allocations: 0.944 MB / 1.085 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002362/0.3601, allocations: 81.33 kB / 1.085 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.228e-05/0.3602, allocations: 39.42 kB / 1.085 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of SimCode: time 1.643e-06/0.3602, allocations: 0 / 1.085 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of Templates: time 0.01086/0.3711, allocations: 4.369 MB / 1.089 GB, free: 4.355 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)