Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001072/0.001072, allocations: 98.27 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.008566/0.008566, allocations: 169 kB / 16.26 MB, free: 6.66 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.362/1.362, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 9.281 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.33, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.9093/1.239, allocations: 205.9 MB / 1.275 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01634/1.256, allocations: 10.74 MB / 1.286 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/1.259, allocations: 52.38 kB / 1.286 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002398/1.261, allocations: 0.6721 MB / 1.286 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/1.271, allocations: 2.271 MB / 1.289 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008744/1.28, allocations: 2.029 MB / 1.291 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01022/1.29, allocations: 4.593 MB / 1.295 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00381/1.294, allocations: 1.115 MB / 1.296 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007/1.301, allocations: 1.696 MB / 1.298 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004503/1.306, allocations: 1.105 MB / 1.299 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009556/1.307, allocations: 63.91 kB / 1.299 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/1.318, allocations: 3.174 MB / 1.302 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001514/1.319, allocations: 378.5 kB / 1.302 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004326/1.324, allocations: 0.8251 MB / 1.303 GB, free: 21.46 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01246/1.336, allocations: 3.283 MB / 1.306 GB, free: 21.26 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/1.336, allocations: 0 / 1.306 GB, free: 21.26 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.276e-06/1.336, allocations: 0 / 1.306 GB, free: 21.26 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001274/1.336, allocations: 0 / 1.306 GB, free: 21.26 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.009513/1.346, allocations: 2.03 MB / 1.308 GB, free: 20.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/1.346, allocations: 9 kB / 1.308 GB, free: 20.13 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/1.351, allocations: 0.5822 MB / 1.309 GB, free: 20.01 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005244/1.356, allocations: 1.249 MB / 1.31 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00107/1.357, allocations: 223.7 kB / 1.31 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006636/1.358, allocations: 107.8 kB / 1.311 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004296/1.362, allocations: 1.352 MB / 1.312 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/1.363, allocations: 2.906 kB / 1.312 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/1.363, allocations: 38.31 kB / 1.312 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-05/1.363, allocations: 47.28 kB / 1.312 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004167/1.367, allocations: 1.393 MB / 1.313 GB, free: 19.4 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.01208/1.379, allocations: 5.317 MB / 1.319 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/1.382, allocations: 1.063 MB / 1.32 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/1.383, allocations: 0.5614 MB / 1.32 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/1.385, allocations: 0.7746 MB / 1.321 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/1.386, allocations: 0.6344 MB / 1.321 GB, free: 16.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 4.369e-06/1.386, allocations: 0 / 1.321 GB, free: 16.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.004963/1.391, allocations: 1.648 MB / 1.323 GB, free: 16.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/1.391, allocations: 60.84 kB / 1.323 GB, free: 16.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/1.394, allocations: 1.338 MB / 1.324 GB, free: 15.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/1.394, allocations: 45.42 kB / 1.325 GB, free: 15.83 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006382/1.395, allocations: 0.6473 MB / 1.325 GB, free: 15.62 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/1.395, allocations: 272.1 kB / 1.325 GB, free: 15.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/1.395, allocations: 102.2 kB / 1.325 GB, free: 15.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.396, allocations: 342.4 kB / 1.326 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.397, allocations: 0.5206 MB / 1.326 GB, free: 15.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/1.399, allocations: 0.8007 MB / 1.327 GB, free: 14.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/1.402, allocations: 1.224 MB / 1.328 GB, free: 14.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.402, allocations: 0 / 1.328 GB, free: 14.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.004033/1.406, allocations: 1.503 MB / 1.33 GB, free: 14.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/1.406, allocations: 265.6 kB / 1.33 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.406, allocations: 6.375 kB / 1.33 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-05/1.406, allocations: 12.22 kB / 1.33 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.408, allocations: 349.5 kB / 1.33 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008307/1.409, allocations: 1.203 MB / 1.332 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/1.411, allocations: 239 kB / 1.332 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/1.411, allocations: 53.33 kB / 1.332 GB, free: 12.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.411, allocations: 6.5 kB / 1.332 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003387/1.415, allocations: 1.351 MB / 1.333 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/1.415, allocations: 3.531 kB / 1.333 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.415, allocations: 11.22 kB / 1.333 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/1.416, allocations: 317.3 kB / 1.333 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-05/1.416, allocations: 14.78 kB / 1.333 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/1.418, allocations: 225 kB / 1.334 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/1.418, allocations: 52.06 kB / 1.334 GB, free: 12.7 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (130): * Single equations (assignments): 127 * 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.001027/1.419, allocations: 407.2 kB / 1.334 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005503/1.42, allocations: 153.3 kB / 1.334 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/1.424, allocations: 1.367 MB / 1.336 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/1.424, allocations: 9.188 kB / 1.336 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.424, allocations: 3.188 kB / 1.336 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.424, allocations: 3.281 kB / 1.336 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006436/1.43, allocations: 2.897 MB / 1.338 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.43, allocations: 2.938 kB / 1.338 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/1.431, allocations: 240.4 kB / 1.339 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/1.431, allocations: 10.22 kB / 1.339 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.93e-05/1.431, allocations: 36.56 kB / 1.339 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006288/1.432, allocations: 1.19 MB / 1.34 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.432, allocations: 5.75 kB / 1.34 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/1.437, allocations: 2.115 MB / 1.342 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.438, allocations: 372.3 kB / 1.342 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004849/1.438, allocations: 25.94 kB / 1.342 GB, free: 9.996 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/1.44, allocations: 158.6 kB / 1.343 GB, free: 9.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/1.44, allocations: 75.33 kB / 1.343 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.44, allocations: 39.84 kB / 1.343 GB, free: 9.973 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001663/1.442, allocations: 0.8939 MB / 1.343 GB, free: 9.863 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.31e-07/1.442, allocations: 4 kB / 1.343 GB, free: 9.859 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003323/1.445, allocations: 0.7917 MB / 1.344 GB, free: 9.773 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.001457/1.447, allocations: 462.9 kB / 1.345 GB, free: 9.617 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005905/1.453, allocations: 2.12 MB / 1.347 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/1.453, allocations: 0 / 1.347 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.455, allocations: 0.6456 MB / 1.347 GB, free: 9.141 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005471/1.46, allocations: 0.6929 MB / 1.348 GB, free: 8.961 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/1.467, allocations: 3.323 MB / 1.351 GB, free: 6.773 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.468, allocations: 1.234 MB / 1.353 GB, free: 5.828 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002404/1.47, allocations: 408.5 kB / 1.353 GB, free: 5.645 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/1.471, allocations: 123.3 kB / 1.353 GB, free: 5.617 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/1.471, allocations: 3.312 kB / 1.353 GB, free: 5.617 MB / 1.014 GB Notification: Performance of Templates: time 0.05499/1.526, allocations: 29.36 MB / 1.382 GB, free: 3.395 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)