Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.00771/0.00771, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.433/1.433, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.000409, allocations: 10.06 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.358, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.9953/1.353, allocations: 195 MB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01125/1.365, allocations: 7.642 MB / 1.272 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/1.366, allocations: 41.06 kB / 1.272 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/1.368, allocations: 0.5705 MB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005957/1.374, allocations: 1.872 MB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/1.377, allocations: 1.027 MB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00527/1.383, allocations: 3.476 MB / 1.279 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/1.384, allocations: 0.807 MB / 1.28 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003538/1.388, allocations: 1.36 MB / 1.281 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/1.39, allocations: 0.8045 MB / 1.282 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001721/1.39, allocations: 39.97 kB / 1.282 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004849/1.395, allocations: 1.964 MB / 1.284 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004384/1.395, allocations: 260.8 kB / 1.284 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/1.396, allocations: 0.5637 MB / 1.285 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005113/1.402, allocations: 2.121 MB / 1.287 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.402, allocations: 0 / 1.287 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/1.402, allocations: 0 / 1.287 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.42e-05/1.402, allocations: 1.25 kB / 1.287 GB, free: 5.805 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004451/1.406, allocations: 1.46 MB / 1.288 GB, free: 20.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.406, allocations: 9.281 kB / 1.288 GB, free: 20.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002614/1.409, allocations: 482.7 kB / 1.288 GB, free: 20.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/1.411, allocations: 0.9192 MB / 1.289 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006734/1.411, allocations: 191.8 kB / 1.29 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/1.412, allocations: 73.45 kB / 1.29 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/1.414, allocations: 1.128 MB / 1.291 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/1.414, allocations: 4.656 kB / 1.291 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.492e-05/1.414, allocations: 26.19 kB / 1.291 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/1.414, allocations: 36.06 kB / 1.291 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003443/1.418, allocations: 1.272 MB / 1.292 GB, free: 20.37 MB / 1.014 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.006902/1.425, allocations: 4.155 MB / 1.296 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/1.428, allocations: 0.9367 MB / 1.297 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/1.429, allocations: 0.5393 MB / 1.298 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009512/1.43, allocations: 0.6477 MB / 1.298 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/1.432, allocations: 0.6332 MB / 1.299 GB, free: 17.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.716e-06/1.432, allocations: 1.188 kB / 1.299 GB, free: 17.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.004574/1.436, allocations: 1.524 MB / 1.3 GB, free: 17.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/1.436, allocations: 87.62 kB / 1.3 GB, free: 17.45 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/1.438, allocations: 0.8384 MB / 1.301 GB, free: 17.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.323e-05/1.438, allocations: 42.94 kB / 1.301 GB, free: 17.26 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/1.438, allocations: 426.7 kB / 1.302 GB, free: 17.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/1.438, allocations: 196.9 kB / 1.302 GB, free: 16.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.438, allocations: 46.81 kB / 1.302 GB, free: 16.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.438, allocations: 332.2 kB / 1.302 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/1.44, allocations: 457.6 kB / 1.303 GB, free: 16.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/1.441, allocations: 0.5613 MB / 1.303 GB, free: 16.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002639/1.444, allocations: 0.9728 MB / 1.304 GB, free: 16.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.444, allocations: 1.344 kB / 1.304 GB, free: 16.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003081/1.447, allocations: 1.148 MB / 1.305 GB, free: 16.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.447, allocations: 167.1 kB / 1.305 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.447, allocations: 2.781 kB / 1.305 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.447, allocations: 8.5 kB / 1.305 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/1.449, allocations: 244.4 kB / 1.306 GB, free: 16.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008559/1.449, allocations: 1.195 MB / 1.307 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/1.451, allocations: 181.9 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.451, allocations: 39.31 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.451, allocations: 4.062 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004127/1.456, allocations: 1.039 MB / 1.308 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.456, allocations: 5.688 kB / 1.308 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/1.456, allocations: 3.969 kB / 1.308 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.457, allocations: 214.8 kB / 1.308 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.457, allocations: 10.64 kB / 1.308 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/1.458, allocations: 182 kB / 1.308 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/1.458, allocations: 27.55 kB / 1.308 GB, free: 14.71 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007403/1.459, allocations: 339.5 kB / 1.309 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/1.459, allocations: 104 kB / 1.309 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003373/1.463, allocations: 1.212 MB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.463, allocations: 7.031 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.463, allocations: 0 / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.026e-06/1.463, allocations: 3.094 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00483/1.467, allocations: 2.41 MB / 1.312 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.468, allocations: 0 / 1.312 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.469, allocations: 219.4 kB / 1.313 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/1.469, allocations: 8.906 kB / 1.313 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/1.469, allocations: 18.28 kB / 1.313 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005889/1.469, allocations: 1.194 MB / 1.314 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.469, allocations: 4.969 kB / 1.314 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/1.472, allocations: 1.301 MB / 1.315 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/1.473, allocations: 289.2 kB / 1.315 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.473, allocations: 23.08 kB / 1.315 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.474, allocations: 155.3 kB / 1.316 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.474, allocations: 61.92 kB / 1.316 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/1.475, allocations: 36.09 kB / 1.316 GB, free: 12.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008623/1.475, allocations: 0.5804 MB / 1.316 GB, free: 12.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.51e-07/1.475, allocations: 0 / 1.316 GB, free: 12.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001541/1.477, allocations: 487.3 kB / 1.317 GB, free: 12.04 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007284/1.478, allocations: 294.8 kB / 1.317 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004657/1.482, allocations: 1.733 MB / 1.319 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.482, allocations: 0 / 1.319 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/1.484, allocations: 0.5995 MB / 1.319 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/1.487, allocations: 471.8 kB / 1.32 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/1.491, allocations: 2.307 MB / 1.322 GB, free: 10.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/1.492, allocations: 1.046 MB / 1.323 GB, free: 9.812 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001285/1.493, allocations: 289.5 kB / 1.323 GB, free: 9.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/1.493, allocations: 81.44 kB / 1.323 GB, free: 9.723 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/1.493, allocations: 4 kB / 1.323 GB, free: 9.719 MB / 1.014 GB Notification: Performance of Templates: time 0.03281/1.526, allocations: 18.87 MB / 1.342 GB, free: 3.602 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)