Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009596/0.0009599, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 177.7 kB / 16.57 MB, free: 6.859 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.298/1.298, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6911/0.6911, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002923, allocations: 12.8 kB / 493 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.4243/0.546, allocations: 175.7 MB / 0.7284 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.5604, allocations: 9.769 MB / 0.738 GB, free: 400 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.562, allocations: 51.62 kB / 0.738 GB, free: 348 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.5641, allocations: 0.7113 MB / 0.7387 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006122/0.5703, allocations: 2.283 MB / 0.7409 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00529/0.5756, allocations: 1.916 MB / 0.7428 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004304/0.5799, allocations: 2.194 MB / 0.745 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.5819, allocations: 1.022 MB / 0.746 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.5853, allocations: 1.468 MB / 0.7474 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.587, allocations: 0.8167 MB / 0.7482 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004407/0.5875, allocations: 64 kB / 0.7483 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004628/0.5921, allocations: 2.005 MB / 0.7502 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006828/0.5928, allocations: 338.7 kB / 0.7505 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000656/0.5935, allocations: 340.8 kB / 0.7509 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.5968, allocations: 2.182 MB / 0.753 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.5968, allocations: 0 / 0.753 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5968, allocations: 0 / 0.753 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.199e-05/0.5969, allocations: 0 / 0.753 GB, free: 1.004 MB / 0.5606 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.004543/0.6014, allocations: 2.019 MB / 0.755 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.6015, allocations: 11.97 kB / 0.755 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003011/0.6045, allocations: 0.5841 MB / 0.7555 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.6067, allocations: 1.181 MB / 0.7567 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006841/0.6074, allocations: 214.2 kB / 0.7569 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.6076, allocations: 111.9 kB / 0.757 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.6103, allocations: 1.341 MB / 0.7583 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.6103, allocations: 0 / 0.7583 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.6104, allocations: 36 kB / 0.7584 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.6105, allocations: 45.98 kB / 0.7584 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/0.6137, allocations: 1.39 MB / 0.7598 GB, free: 9.934 MB / 0.5762 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.008444/0.6222, allocations: 5.34 MB / 0.765 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.6248, allocations: 1.054 MB / 0.766 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008999/0.6257, allocations: 0.5968 MB / 0.7666 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/0.6272, allocations: 0.6289 MB / 0.7672 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=81): time 3.036e-06/0.6272, allocations: 0 / 0.7672 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.004479/0.6317, allocations: 1.648 MB / 0.7688 GB, free: 224 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.6317, allocations: 60.06 kB / 0.7689 GB, free: 148 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.6337, allocations: 1.322 MB / 0.7702 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.6338, allocations: 41.7 kB / 0.7702 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/0.6344, allocations: 0.6503 MB / 0.7708 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.6346, allocations: 279.9 kB / 0.7711 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.6347, allocations: 20 kB / 0.7711 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6348, allocations: 353.9 kB / 0.7714 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.6362, allocations: 0.5178 MB / 0.772 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.6379, allocations: 0.7682 MB / 0.7727 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.6394, allocations: 0.5979 MB / 0.7733 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.6394, allocations: 0 / 0.7733 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003708/0.6432, allocations: 1.493 MB / 0.7747 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008899/0.6441, allocations: 1.9 MB / 0.7766 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.6441, allocations: 11.98 kB / 0.7766 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/0.6441, allocations: 15.94 kB / 0.7766 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.646, allocations: 347.5 kB / 0.777 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006839/0.6467, allocations: 1.199 MB / 0.7781 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.6484, allocations: 230.4 kB / 0.7784 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.6486, allocations: 51.97 kB / 0.7784 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.6486, allocations: 4 kB / 0.7784 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003223/0.6518, allocations: 1.341 MB / 0.7797 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.6518, allocations: 8 kB / 0.7797 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.6519, allocations: 8 kB / 0.7797 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.6533, allocations: 327.7 kB / 0.78 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.6534, allocations: 8 kB / 0.78 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.655, allocations: 226.9 kB / 0.7803 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.6551, allocations: 47.97 kB / 0.7803 GB, free: 4.121 MB / 0.5919 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 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006663/0.6558, allocations: 415.2 kB / 0.7807 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.6562, allocations: 154.1 kB / 0.7809 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/0.6596, allocations: 1.371 MB / 0.7822 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.6596, allocations: 8 kB / 0.7822 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6596, allocations: 0 / 0.7822 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.6596, allocations: 3.984 kB / 0.7822 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005794/0.6654, allocations: 2.902 MB / 0.785 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6654, allocations: 7.984 kB / 0.785 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.6667, allocations: 240.1 kB / 0.7853 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.875e-05/0.6667, allocations: 15.92 kB / 0.7853 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.61e-05/0.6668, allocations: 27.98 kB / 0.7853 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005675/0.6674, allocations: 1.195 MB / 0.7865 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.6674, allocations: 4 kB / 0.7865 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004592/0.672, allocations: 2.329 MB / 0.7888 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/0.6727, allocations: 374.8 kB / 0.7891 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.673, allocations: 23.94 kB / 0.7891 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.6744, allocations: 160.4 kB / 0.7893 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.6745, allocations: 76.45 kB / 0.7894 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/0.6746, allocations: 39.97 kB / 0.7894 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001203/0.6759, allocations: 0.8862 MB / 0.7903 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6759, allocations: 0 / 0.7903 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002014/0.6779, allocations: 0.7887 MB / 0.791 GB, free: 8.773 MB / 0.6075 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009768/0.6789, allocations: 480.5 kB / 0.7915 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005163/0.684, allocations: 2.097 MB / 0.7935 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.6841, allocations: 4.125 kB / 0.7936 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.6856, allocations: 0.6485 MB / 0.7942 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.6889, allocations: 0.6847 MB / 0.7949 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/0.6942, allocations: 3.206 MB / 0.798 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/0.6949, allocations: 1.262 MB / 0.7992 GB, free: 292 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001758/0.6967, allocations: 412.9 kB / 0.7996 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.6971, allocations: 119.3 kB / 0.7997 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.6971, allocations: 0 / 0.7997 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of Templates: time 0.04335/0.7404, allocations: 28.67 MB / 0.8277 GB, free: 3.465 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)