Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5033/0.5033, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008478/0.0008478, allocations: 87.95 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.586e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1555, allocations: 72.31 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.338/5.493, allocations: 2.148 GB / 2.702 GB, free: 178.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/5.494, allocations: 87.45 kB / 2.702 GB, free: 178.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.906/8.4, allocations: 0.9161 GB / 3.618 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/8.4, allocations: 0 / 3.618 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002747/8.4, allocations: 39.98 kB / 3.618 GB, free: 9.004 MB / 0.6198 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.007236/8.407, allocations: 1.95 MB / 3.62 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/8.407, allocations: 11.97 kB / 3.62 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/8.411, allocations: 0.525 MB / 3.62 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004328/8.415, allocations: 1.223 MB / 3.621 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008018/8.416, allocations: 169.9 kB / 3.622 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006799/8.417, allocations: 56 kB / 3.622 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00244/8.419, allocations: 0.9294 MB / 3.622 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/8.421, allocations: 1.031 MB / 3.623 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/8.421, allocations: 0 / 3.623 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/8.422, allocations: 3.953 kB / 3.623 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-05/8.422, allocations: 45.92 kB / 3.624 GB, free: 2.922 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.557/8.979, allocations: 4.905 MB / 3.628 GB, free: 64.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/8.981, allocations: 0.8079 MB / 3.629 GB, free: 64.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009219/8.981, allocations: 444.4 kB / 3.63 GB, free: 64.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/8.983, allocations: 0.8394 MB / 3.63 GB, free: 63.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/8.984, allocations: 0.6142 MB / 3.631 GB, free: 63.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 3.035e-06/8.984, allocations: 0 / 3.631 GB, free: 63.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.003513/8.988, allocations: 1.131 MB / 3.632 GB, free: 63.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/8.988, allocations: 143.6 kB / 3.632 GB, free: 63.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/8.989, allocations: 0.7436 MB / 3.633 GB, free: 63.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/8.989, allocations: 29.14 kB / 3.633 GB, free: 63.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/8.99, allocations: 0.5306 MB / 3.633 GB, free: 63.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/8.99, allocations: 261.4 kB / 3.634 GB, free: 63.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/8.99, allocations: 2.531 kB / 3.634 GB, free: 63.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001142/8.99, allocations: 341.6 kB / 3.634 GB, free: 62.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000683/8.991, allocations: 385.5 kB / 3.634 GB, free: 62.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/8.992, allocations: 0.5884 MB / 3.635 GB, free: 62.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/8.994, allocations: 0.537 MB / 3.636 GB, free: 62.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/8.994, allocations: 2.781 kB / 3.636 GB, free: 62.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003284/8.997, allocations: 1.283 MB / 3.637 GB, free: 62.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000388/8.997, allocations: 1.202 MB / 3.638 GB, free: 61.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/8.997, allocations: 5.594 kB / 3.638 GB, free: 61.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/8.997, allocations: 6.25 kB / 3.638 GB, free: 61.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/8.999, allocations: 270.9 kB / 3.638 GB, free: 61.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/8.999, allocations: 9.453 kB / 3.638 GB, free: 61.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/9.001, allocations: 183.6 kB / 3.638 GB, free: 61.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/9.001, allocations: 59.05 kB / 3.638 GB, free: 61.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/9.001, allocations: 5.062 kB / 3.638 GB, free: 61.17 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002256/9.003, allocations: 1.17 MB / 3.64 GB, free: 61.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/9.003, allocations: 4.688 kB / 3.64 GB, free: 61.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/9.003, allocations: 7.344 kB / 3.64 GB, free: 61.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/9.004, allocations: 267.9 kB / 3.64 GB, free: 61.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/9.004, allocations: 8.625 kB / 3.64 GB, free: 61.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/9.006, allocations: 174.3 kB / 3.64 GB, free: 61.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/9.006, allocations: 56.56 kB / 3.64 GB, free: 61.12 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004095/9.006, allocations: 206.3 kB / 3.64 GB, free: 60.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/9.007, allocations: 119.1 kB / 3.64 GB, free: 60.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/9.01, allocations: 1.268 MB / 3.642 GB, free: 60.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/9.01, allocations: 11.97 kB / 3.642 GB, free: 60.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/9.01, allocations: 0 / 3.642 GB, free: 60.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/9.01, allocations: 6.359 kB / 3.642 GB, free: 60.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00556/9.015, allocations: 2.702 MB / 3.644 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/9.015, allocations: 7.656 kB / 3.644 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/9.016, allocations: 204.6 kB / 3.645 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/9.016, allocations: 6.75 kB / 3.645 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.721e-05/9.016, allocations: 26.28 kB / 3.645 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.762e-05/9.016, allocations: 9.516 kB / 3.645 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/9.016, allocations: 5.734 kB / 3.645 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004472/9.021, allocations: 2.116 MB / 3.647 GB, free: 59.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000842/9.022, allocations: 344.8 kB / 3.647 GB, free: 59.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/9.022, allocations: 12.66 kB / 3.647 GB, free: 59.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/9.023, allocations: 138.8 kB / 3.647 GB, free: 59.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/9.023, allocations: 65.42 kB / 3.647 GB, free: 59.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/9.024, allocations: 48.25 kB / 3.647 GB, free: 59.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001066/9.025, allocations: 0.5602 MB / 3.648 GB, free: 59.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/9.025, allocations: 1.375 kB / 3.648 GB, free: 59.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003951/9.029, allocations: 0.936 MB / 3.649 GB, free: 59.48 MB / 0.6198 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005421/9.034, allocations: 2.438 MB / 3.651 GB, free: 58.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00345/9.038, allocations: 1.836 MB / 3.653 GB, free: 58.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/9.038, allocations: 0 / 3.653 GB, free: 58.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007452/9.038, allocations: 0.6298 MB / 3.653 GB, free: 58.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/9.041, allocations: 428.6 kB / 3.654 GB, free: 58.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/9.045, allocations: 1.746 MB / 3.656 GB, free: 58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008608/9.046, allocations: 1.181 MB / 3.657 GB, free: 57.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002053/9.048, allocations: 402.7 kB / 3.657 GB, free: 57.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/9.048, allocations: 87.03 kB / 3.657 GB, free: 57.28 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/9.048, allocations: 2.156 kB / 3.657 GB, free: 57.28 MB / 0.6198 GB Notification: Performance of Templates: time 0.05845/9.107, allocations: 33.47 MB / 3.69 GB, free: 56.14 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)