Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008464/0.008464, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 252 MB / 0.5105 GB, free: 4.637 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007963/0.0007965, allocations: 20 kB / 0.6249 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.555, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.7254/1.28, allocations: 206.2 MB / 0.9301 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01822/1.299, allocations: 13.66 MB / 0.9434 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/1.302, allocations: 61.28 kB / 0.9435 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/1.305, allocations: 0.7129 MB / 0.9442 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007716/1.312, allocations: 2.329 MB / 0.9464 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009017/1.321, allocations: 3.066 MB / 0.9494 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007111/1.329, allocations: 4.616 MB / 0.9539 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/1.331, allocations: 1.106 MB / 0.955 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004182/1.336, allocations: 1.634 MB / 0.9566 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/1.339, allocations: 1.131 MB / 0.9577 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003687/1.339, allocations: 62.41 kB / 0.9578 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006236/1.345, allocations: 3.295 MB / 0.961 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007752/1.346, allocations: 380.6 kB / 0.9614 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/1.348, allocations: 0.8259 MB / 0.9622 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006293/1.354, allocations: 3.417 MB / 0.9655 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.354, allocations: 0 / 0.9655 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.472e-06/1.354, allocations: 0 / 0.9655 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.44e-05/1.354, allocations: 7.094 kB / 0.9655 GB, free: 1.117 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004717/1.359, allocations: 2.062 MB / 0.9675 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.359, allocations: 8.875 kB / 0.9675 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/1.362, allocations: 0.58 MB / 0.9681 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/1.366, allocations: 1.269 MB / 0.9693 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007107/1.366, allocations: 213.1 kB / 0.9695 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002996/1.367, allocations: 114.5 kB / 0.9697 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/1.369, allocations: 1.376 MB / 0.971 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/1.369, allocations: 0 / 0.971 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/1.37, allocations: 41.88 kB / 0.971 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/1.37, allocations: 41.53 kB / 0.9711 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/1.373, allocations: 1.398 MB / 0.9724 GB, free: 15.2 MB / 0.7325 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.01025/1.383, allocations: 5.332 MB / 0.9776 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/1.386, allocations: 1.194 MB / 0.9788 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/1.388, allocations: 0.5704 MB / 0.9794 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/1.389, allocations: 0.7772 MB / 0.9801 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/1.39, allocations: 0.6379 MB / 0.9808 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/1.39, allocations: 0 / 0.9808 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.004499/1.395, allocations: 1.673 MB / 0.9824 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.395, allocations: 149.4 kB / 0.9825 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/1.397, allocations: 1.339 MB / 0.9838 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/1.397, allocations: 49.27 kB / 0.9839 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/1.397, allocations: 0.6623 MB / 0.9845 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/1.397, allocations: 279.5 kB / 0.9848 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/1.398, allocations: 104.7 kB / 0.9849 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.398, allocations: 349 kB / 0.9852 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/1.399, allocations: 0.5481 MB / 0.9858 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/1.401, allocations: 0.8334 MB / 0.9866 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/1.403, allocations: 1.262 MB / 0.9878 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/1.403, allocations: 10.92 kB / 0.9878 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003884/1.407, allocations: 1.567 MB / 0.9894 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/1.408, allocations: 264.9 kB / 0.9896 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/1.408, allocations: 6.156 kB / 0.9896 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/1.408, allocations: 12.48 kB / 0.9896 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/1.409, allocations: 355.1 kB / 0.99 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007879/1.41, allocations: 1.195 MB / 0.9911 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/1.412, allocations: 246.8 kB / 0.9914 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/1.412, allocations: 56.53 kB / 0.9914 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/1.412, allocations: 3.375 kB / 0.9914 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003381/1.416, allocations: 1.413 MB / 0.9928 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/1.416, allocations: 3.281 kB / 0.9928 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.416, allocations: 10.03 kB / 0.9928 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.417, allocations: 323.3 kB / 0.9931 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/1.417, allocations: 13.97 kB / 0.9931 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/1.419, allocations: 216.1 kB / 0.9933 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/1.419, allocations: 57.16 kB / 0.9934 GB, free: 6.543 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0009307/1.42, allocations: 418.8 kB / 0.9938 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004601/1.421, allocations: 157.5 kB / 0.9939 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/1.424, allocations: 1.387 MB / 0.9953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/1.424, allocations: 10.69 kB / 0.9953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.424, allocations: 0 / 0.9953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/1.424, allocations: 3.984 kB / 0.9953 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006575/1.431, allocations: 2.909 MB / 0.9982 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.431, allocations: 3.344 kB / 0.9982 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/1.432, allocations: 240.2 kB / 0.9984 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.951e-05/1.432, allocations: 10.69 kB / 0.9984 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/1.432, allocations: 28.36 kB / 0.9984 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005772/1.433, allocations: 1.191 MB / 0.9996 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.433, allocations: 6.531 kB / 0.9996 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004912/1.438, allocations: 2.144 MB / 1.002 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.439, allocations: 379.3 kB / 1.002 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006047/1.44, allocations: 25.89 kB / 1.002 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/1.441, allocations: 123.5 kB / 1.002 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/1.442, allocations: 76.84 kB / 1.002 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.442, allocations: 41.44 kB / 1.002 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001924/1.444, allocations: 0.9007 MB / 1.003 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.3e-07/1.444, allocations: 0 / 1.003 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003533/1.447, allocations: 0.8267 MB / 1.004 GB, free: 0.6719 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001967/1.449, allocations: 0.5028 MB / 1.004 GB, free: 232 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006405/1.456, allocations: 2.233 MB / 1.007 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/1.456, allocations: 0.875 kB / 1.007 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001933/1.458, allocations: 0.6722 MB / 1.007 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/1.463, allocations: 0.7057 MB / 1.008 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006739/1.47, allocations: 3.365 MB / 1.011 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.471, allocations: 1.231 MB / 1.012 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002392/1.473, allocations: 412.9 kB / 1.013 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/1.474, allocations: 131.4 kB / 1.013 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of SimCode: time 9.91e-07/1.474, allocations: 2.438 kB / 1.013 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of Templates: time 0.05542/1.529, allocations: 30.5 MB / 1.043 GB, free: 9.418 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: