Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001537/0.001537, allocations: 188.2 kB / 16.25 MB, free: 6.617 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 62.36 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3184, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.877/1.195, allocations: 204.3 MB / 1.267 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0169/1.212, allocations: 13.53 MB / 1.28 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/1.215, allocations: 45.84 kB / 1.28 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/1.217, allocations: 0.6909 MB / 1.281 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005761/1.223, allocations: 2.071 MB / 1.283 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005758/1.228, allocations: 1.926 MB / 1.285 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005522/1.234, allocations: 3.292 MB / 1.288 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/1.237, allocations: 1.146 MB / 1.289 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005622/1.242, allocations: 1.861 MB / 1.291 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/1.245, allocations: 1.091 MB / 1.292 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003174/1.245, allocations: 129.4 kB / 1.292 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006147/1.251, allocations: 3.118 MB / 1.295 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005614/1.252, allocations: 427.9 kB / 1.296 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/1.253, allocations: 0.7838 MB / 1.297 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006505/1.259, allocations: 3.199 MB / 1.3 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.259, allocations: 0.8125 kB / 1.3 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.804e-06/1.259, allocations: 0 / 1.3 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.118e-05/1.259, allocations: 0.6875 kB / 1.3 GB, free: 4.812 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005558/1.265, allocations: 2.118 MB / 1.302 GB, free: 19.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.265, allocations: 8.906 kB / 1.302 GB, free: 19.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/1.268, allocations: 0.519 MB / 1.302 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/1.271, allocations: 1.087 MB / 1.303 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006498/1.271, allocations: 182.7 kB / 1.304 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/1.272, allocations: 98.62 kB / 1.304 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/1.274, allocations: 1.263 MB / 1.305 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/1.274, allocations: 0 / 1.305 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/1.274, allocations: 37.84 kB / 1.305 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/1.274, allocations: 39.31 kB / 1.305 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/1.277, allocations: 1.291 MB / 1.306 GB, free: 19.12 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.008111/1.285, allocations: 4.868 MB / 1.311 GB, free: 17.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/1.288, allocations: 0.9878 MB / 1.312 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/1.289, allocations: 0.5571 MB / 1.312 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/1.29, allocations: 0.8385 MB / 1.313 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/1.292, allocations: 0.6875 MB / 1.314 GB, free: 16.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.016e-06/1.292, allocations: 0 / 1.314 GB, free: 16.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004307/1.296, allocations: 1.727 MB / 1.316 GB, free: 15.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/1.296, allocations: 115.8 kB / 1.316 GB, free: 15.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/1.298, allocations: 1.046 MB / 1.317 GB, free: 15.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.298, allocations: 45.58 kB / 1.317 GB, free: 15.56 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/1.298, allocations: 0.5342 MB / 1.317 GB, free: 15.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/1.298, allocations: 274.8 kB / 1.318 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/1.299, allocations: 208.1 kB / 1.318 GB, free: 15.17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.299, allocations: 338.2 kB / 1.318 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/1.3, allocations: 0.5076 MB / 1.319 GB, free: 14.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/1.301, allocations: 0.6851 MB / 1.319 GB, free: 14.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/1.304, allocations: 1.178 MB / 1.32 GB, free: 14.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/1.304, allocations: 0 / 1.32 GB, free: 14.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003183/1.307, allocations: 1.459 MB / 1.322 GB, free: 14.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/1.307, allocations: 74.42 kB / 1.322 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.307, allocations: 5.344 kB / 1.322 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.307, allocations: 5.125 kB / 1.322 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/1.308, allocations: 250.6 kB / 1.322 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.309, allocations: 5.344 kB / 1.322 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.31, allocations: 202 kB / 1.322 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.31, allocations: 47.45 kB / 1.322 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001519/1.312, allocations: 0.7367 MB / 1.323 GB, free: 13.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001224/1.313, allocations: 0.6747 MB / 1.324 GB, free: 13.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002234/1.315, allocations: 1.171 MB / 1.325 GB, free: 13.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/1.315, allocations: 6.578 kB / 1.325 GB, free: 13.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.003073/1.318, allocations: 1.448 MB / 1.326 GB, free: 13.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/1.318, allocations: 71.33 kB / 1.326 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.318, allocations: 7.312 kB / 1.326 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/1.318, allocations: 5.031 kB / 1.326 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.32, allocations: 250.8 kB / 1.327 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.32, allocations: 8.781 kB / 1.327 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/1.321, allocations: 180.7 kB / 1.327 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/1.321, allocations: 42.73 kB / 1.327 GB, free: 13.24 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 2 * 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.0004129/1.322, allocations: 313.2 kB / 1.327 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/1.322, allocations: 130.4 kB / 1.327 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/1.325, allocations: 1.468 MB / 1.329 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/1.325, allocations: 17.91 kB / 1.329 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.325, allocations: 0 / 1.329 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.325, allocations: 7.078 kB / 1.329 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004873/1.33, allocations: 2.926 MB / 1.332 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.33, allocations: 2.562 kB / 1.332 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/1.331, allocations: 198.6 kB / 1.332 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/1.331, allocations: 13.28 kB / 1.332 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/1.331, allocations: 35.91 kB / 1.332 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/1.331, allocations: 7.312 kB / 1.332 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.331, allocations: 3.375 kB / 1.332 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004105/1.335, allocations: 2.235 MB / 1.334 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/1.336, allocations: 341.2 kB / 1.334 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/1.336, allocations: 30.34 kB / 1.334 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.337, allocations: 138.8 kB / 1.335 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.338, allocations: 65.09 kB / 1.335 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/1.338, allocations: 44.58 kB / 1.335 GB, free: 11.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009289/1.339, allocations: 0.7094 MB / 1.335 GB, free: 11.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.339, allocations: 0 / 1.335 GB, free: 11.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002152/1.341, allocations: 0.8045 MB / 1.336 GB, free: 10.93 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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.001166/1.342, allocations: 0.5153 MB / 1.337 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004792/1.347, allocations: 2.264 MB / 1.339 GB, free: 9.863 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.347, allocations: 0 / 1.339 GB, free: 9.863 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/1.348, allocations: 0.7587 MB / 1.34 GB, free: 9.547 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/1.351, allocations: 0.4917 MB / 1.34 GB, free: 9.375 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/1.356, allocations: 2.872 MB / 1.343 GB, free: 7.688 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008887/1.357, allocations: 1.152 MB / 1.344 GB, free: 6.953 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002017/1.359, allocations: 356.4 kB / 1.344 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/1.359, allocations: 107.2 kB / 1.344 GB, free: 6.84 MB / 1.014 GB Notification: Performance of SimCode: time 1.192e-06/1.359, allocations: 0 / 1.344 GB, free: 6.84 MB / 1.014 GB Notification: Performance of Templates: time 0.0442/1.404, allocations: 26.2 MB / 1.37 GB, free: 9.363 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)