Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007556/0.0007552, allocations: 91.38 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.0047/0.0047, allocations: 172.9 kB / 16.26 MB, free: 6.676 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 270.5 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9433/0.9433, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 14.44 kB / 0.5986 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 88.54 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5105/0.6481, allocations: 195 MB / 0.8755 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.6595, allocations: 7.653 MB / 0.883 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.661, allocations: 38.31 kB / 0.8831 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.6626, allocations: 0.5627 MB / 0.8836 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005057/0.6677, allocations: 1.885 MB / 0.8854 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.6703, allocations: 1.021 MB / 0.8864 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003631/0.6739, allocations: 3.474 MB / 0.8898 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.675, allocations: 0.8041 MB / 0.8906 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.6777, allocations: 1.361 MB / 0.8919 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.679, allocations: 0.7993 MB / 0.8927 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.76e-05/0.6791, allocations: 40 kB / 0.8928 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.6824, allocations: 1.968 MB / 0.8947 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.6827, allocations: 262.9 kB / 0.8949 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.6832, allocations: 0.5611 MB / 0.8955 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.6856, allocations: 2.118 MB / 0.8976 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6856, allocations: 0 / 0.8976 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6856, allocations: 0 / 0.8976 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.6856, allocations: 0 / 0.8976 GB, free: 6.363 MB / 0.6075 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.003175/0.6888, allocations: 1.468 MB / 0.899 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.6889, allocations: 12.03 kB / 0.899 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.6912, allocations: 478.1 kB / 0.8995 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.6928, allocations: 0.9174 MB / 0.9004 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006456/0.6934, allocations: 185.9 kB / 0.9005 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.6936, allocations: 67.98 kB / 0.9006 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.696, allocations: 1.134 MB / 0.9017 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.696, allocations: 0 / 0.9017 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.6961, allocations: 31.98 kB / 0.9017 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/0.6962, allocations: 30 kB / 0.9018 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/0.6994, allocations: 1.273 MB / 0.903 GB, free: 0.6602 MB / 0.6075 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.0064/0.7058, allocations: 4.161 MB / 0.9071 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.7084, allocations: 0.9303 MB / 0.908 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.7098, allocations: 0.5373 MB / 0.9085 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007952/0.7106, allocations: 0.6526 MB / 0.9091 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/0.7121, allocations: 0.6343 MB / 0.9098 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 1.883e-06/0.7122, allocations: 4 kB / 0.9098 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.004287/0.7164, allocations: 1.52 MB / 0.9112 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.7165, allocations: 93.61 kB / 0.9113 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/0.7175, allocations: 0.8356 MB / 0.9121 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/0.7176, allocations: 41.7 kB / 0.9122 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.7179, allocations: 428.4 kB / 0.9126 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.7181, allocations: 193.2 kB / 0.9128 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.749e-05/0.7182, allocations: 45.7 kB / 0.9128 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.7183, allocations: 333.9 kB / 0.9131 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.7196, allocations: 456.8 kB / 0.9136 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.721, allocations: 0.5704 MB / 0.9141 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.7235, allocations: 0.9671 MB / 0.9151 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7236, allocations: 0 / 0.9151 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003007/0.7266, allocations: 1.155 MB / 0.9162 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.7267, allocations: 158.3 kB / 0.9164 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7267, allocations: 0 / 0.9164 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.7267, allocations: 4 kB / 0.9164 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.7281, allocations: 255.6 kB / 0.9166 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006402/0.7288, allocations: 1.192 MB / 0.9178 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.73, allocations: 187.3 kB / 0.9179 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.7301, allocations: 31.92 kB / 0.918 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.7301, allocations: 4 kB / 0.918 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0028/0.7329, allocations: 1.038 MB / 0.919 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.7329, allocations: 0 / 0.919 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.92e-06/0.7329, allocations: 4.094 kB / 0.919 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.734, allocations: 227.8 kB / 0.9192 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.734, allocations: 4 kB / 0.9192 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.7352, allocations: 183.3 kB / 0.9194 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.7353, allocations: 27.98 kB / 0.9194 GB, free: 15.15 MB / 0.6387 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.0005689/0.7358, allocations: 345.1 kB / 0.9198 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.736, allocations: 102.7 kB / 0.9199 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/0.7392, allocations: 1.206 MB / 0.921 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.7392, allocations: 8 kB / 0.921 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.7392, allocations: 0 / 0.921 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.7392, allocations: 3.984 kB / 0.921 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004596/0.7438, allocations: 2.403 MB / 0.9234 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.7439, allocations: 7.938 kB / 0.9234 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.7449, allocations: 220 kB / 0.9236 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.7449, allocations: 4 kB / 0.9236 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.745, allocations: 23.92 kB / 0.9236 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005466/0.7456, allocations: 1.195 MB / 0.9248 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.7456, allocations: 7.875 kB / 0.9248 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.7486, allocations: 1.29 MB / 0.9261 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/0.749, allocations: 295.6 kB / 0.9263 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.7491, allocations: 12 kB / 0.9264 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.7503, allocations: 163.7 kB / 0.9265 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.7505, allocations: 60.3 kB / 0.9266 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.7505, allocations: 35.97 kB / 0.9266 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000712/0.7513, allocations: 0.5782 MB / 0.9272 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7513, allocations: 0 / 0.9272 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001202/0.7525, allocations: 483.1 kB / 0.9276 GB, free: 6.512 MB / 0.6387 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.000587/0.7531, allocations: 308.8 kB / 0.9279 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00478/0.7579, allocations: 1.731 MB / 0.9296 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.7579, allocations: 0 / 0.9296 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.7595, allocations: 0.608 MB / 0.9302 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.7623, allocations: 469.4 kB / 0.9307 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.7666, allocations: 2.308 MB / 0.9329 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.7672, allocations: 1.043 MB / 0.9339 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001333/0.7685, allocations: 288.7 kB / 0.9342 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.7688, allocations: 83.41 kB / 0.9343 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of SimCode: time 8.11e-07/0.7688, allocations: 0 / 0.9343 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.03024/0.799, allocations: 18.87 MB / 0.9527 GB, free: 12.98 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)