Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00203/0.002031, allocations: 196.6 kB / 16.14 MB, free: 6.734 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.568/1.568, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 61.52 kB / 0.9113 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3435, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1776/0.5211, allocations: 157.9 MB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005743/0.5269, allocations: 3.824 MB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006803/0.5276, allocations: 15.88 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009201/0.5286, allocations: 151.1 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.5316, allocations: 0.801 MB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.5328, allocations: 393.3 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001902/0.5347, allocations: 1.389 MB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006105/0.5354, allocations: 252.9 kB / 1.228 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.5364, allocations: 358.4 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.5376, allocations: 332.1 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.943e-05/0.5377, allocations: 20 kB / 1.229 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.5393, allocations: 0.8493 MB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.5396, allocations: 155.6 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.5399, allocations: 198.9 kB / 1.23 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.5413, allocations: 0.7867 MB / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5413, allocations: 0 / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5413, allocations: 0 / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.5413, allocations: 0 / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00154/0.5428, allocations: 0.7401 MB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5429, allocations: 8.031 kB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.5442, allocations: 143.4 kB / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007199/0.5449, allocations: 382.5 kB / 1.232 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.545, allocations: 20.66 kB / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.071e-05/0.545, allocations: 39.91 kB / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.5457, allocations: 322 kB / 1.233 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.5458, allocations: 0 / 1.233 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.5458, allocations: 16 kB / 1.233 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5458, allocations: 8 kB / 1.233 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.5464, allocations: 302.4 kB / 1.233 GB, free: 0.8984 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.5485, allocations: 1.212 MB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.549, allocations: 293.4 kB / 1.234 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.5493, allocations: 193.2 kB / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.5496, allocations: 182.5 kB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.5497, allocations: 38.84 kB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.5497, allocations: 0 / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.002463/0.5521, allocations: 1.029 MB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.5522, allocations: 55.41 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004156/0.5526, allocations: 324.5 kB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.5527, allocations: 29.7 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.5528, allocations: 176.8 kB / 1.236 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.5529, allocations: 122.1 kB / 1.236 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.5531, allocations: 61.7 kB / 1.236 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5532, allocations: 346.8 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.5535, allocations: 115.7 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.5538, allocations: 170.2 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.5556, allocations: 0.7649 MB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.5556, allocations: 0 / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005965/0.5562, allocations: 348.9 kB / 1.238 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5563, allocations: 5.719 kB / 1.238 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.5563, allocations: 4 kB / 1.238 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.5563, allocations: 7.922 kB / 1.238 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.5566, allocations: 67.91 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5566, allocations: 4.031 kB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.557, allocations: 22.8 kB / 1.238 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.5571, allocations: 12 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0002019/0.5573, allocations: 173.8 kB / 1.238 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.24e-05/0.5574, allocations: 39.53 kB / 1.238 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.766e-05/0.5575, allocations: 52.06 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.5575, allocations: 11.92 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5575, allocations: 0 / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005674/0.5581, allocations: 412.4 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.5598, allocations: 1.063 MB / 1.24 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5598, allocations: 4 kB / 1.24 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.5602, allocations: 83.89 kB / 1.24 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.5602, allocations: 7.938 kB / 1.24 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.5603, allocations: 12 kB / 1.24 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.5603, allocations: 11.92 kB / 1.24 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.5603, allocations: 7.938 kB / 1.24 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009801/0.5613, allocations: 0.6838 MB / 1.241 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.5615, allocations: 140.6 kB / 1.241 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.5615, allocations: 19.92 kB / 1.241 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.5619, allocations: 23.94 kB / 1.241 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.562, allocations: 35.92 kB / 1.241 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.5621, allocations: 20 kB / 1.241 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002574/0.5623, allocations: 235 kB / 1.241 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5623, allocations: 0 / 1.241 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004959/0.5628, allocations: 104 kB / 1.241 GB, free: 7.734 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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.0004554/0.5633, allocations: 173.1 kB / 1.241 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006087/0.5639, allocations: 300.1 kB / 1.242 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5639, allocations: 0 / 1.242 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.5642, allocations: 163.7 kB / 1.242 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.5654, allocations: 214.2 kB / 1.242 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.5672, allocations: 1.088 MB / 1.243 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.5677, allocations: 0.8273 MB / 1.244 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004275/0.5681, allocations: 107.2 kB / 1.244 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.5682, allocations: 35.44 kB / 1.244 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/0.5683, allocations: 0 / 1.244 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of Templates: time 0.5429/1.111, allocations: 7.023 MB / 1.251 GB, free: 184.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1)