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.001119/0.001119, allocations: 90.42 kB / 16.67 MB, free: 6.594 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.0009667/0.0009667, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.345/1.345, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7182/0.7182, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 16 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4115, allocations: 77.51 MB / 0.5606 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6196/1.031, allocations: 205.9 MB / 0.7616 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01872/1.05, allocations: 10.73 MB / 0.7721 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/1.053, allocations: 52.09 kB / 0.7722 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002781/1.056, allocations: 0.6729 MB / 0.7728 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008541/1.064, allocations: 2.263 MB / 0.775 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007424/1.072, allocations: 2.031 MB / 0.777 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00801/1.08, allocations: 4.59 MB / 0.7815 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/1.082, allocations: 1.107 MB / 0.7826 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005399/1.088, allocations: 1.699 MB / 0.7842 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003667/1.092, allocations: 1.103 MB / 0.7853 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004887/1.092, allocations: 61.94 kB / 0.7854 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008475/1.101, allocations: 3.177 MB / 0.7885 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/1.102, allocations: 373.6 kB / 0.7888 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001834/1.103, allocations: 0.8215 MB / 0.7896 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004615/1.108, allocations: 2.385 MB / 0.792 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.108, allocations: 0 / 0.792 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/1.108, allocations: 1.859 kB / 0.792 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.748e-05/1.108, allocations: 2.688 kB / 0.792 GB, free: 1.41 MB / 0.5762 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.005272/1.113, allocations: 2.028 MB / 0.7939 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.113, allocations: 11.3 kB / 0.794 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/1.117, allocations: 0.5762 MB / 0.7945 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/1.119, allocations: 1.261 MB / 0.7957 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006516/1.12, allocations: 214.5 kB / 0.796 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/1.12, allocations: 108.3 kB / 0.7961 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/1.123, allocations: 1.352 MB / 0.7974 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/1.123, allocations: 6.891 kB / 0.7974 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/1.123, allocations: 41.31 kB / 0.7974 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/1.123, allocations: 46.62 kB / 0.7975 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003162/1.126, allocations: 1.39 MB / 0.7988 GB, free: 15.55 MB / 0.5919 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.009048/1.135, allocations: 5.328 MB / 0.804 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/1.138, allocations: 1.062 MB / 0.8051 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/1.139, allocations: 0.5675 MB / 0.8056 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/1.14, allocations: 0.7795 MB / 0.8064 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001523/1.142, allocations: 0.638 MB / 0.807 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=81): time 3.586e-06/1.142, allocations: 0 / 0.807 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.004608/1.146, allocations: 1.652 MB / 0.8086 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/1.146, allocations: 60.69 kB / 0.8087 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.148, allocations: 1.325 MB / 0.81 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/1.149, allocations: 49.36 kB / 0.81 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006383/1.149, allocations: 0.6492 MB / 0.8106 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/1.15, allocations: 280.1 kB / 0.8109 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/1.15, allocations: 97 kB / 0.811 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.15, allocations: 352.6 kB / 0.8113 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/1.151, allocations: 0.5273 MB / 0.8119 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/1.153, allocations: 0.7782 MB / 0.8126 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002717/1.156, allocations: 1.222 MB / 0.8138 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.156, allocations: 2.844 kB / 0.8138 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003739/1.159, allocations: 1.507 MB / 0.8153 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002368/1.16, allocations: 261.1 kB / 0.8155 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/1.16, allocations: 8.656 kB / 0.8155 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/1.16, allocations: 8.938 kB / 0.8156 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/1.162, allocations: 351.4 kB / 0.8159 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008391/1.163, allocations: 1.196 MB / 0.8171 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/1.165, allocations: 235.9 kB / 0.8173 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.165, allocations: 51.59 kB / 0.8173 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/1.165, allocations: 5.062 kB / 0.8173 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003208/1.168, allocations: 1.353 MB / 0.8187 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.168, allocations: 10.11 kB / 0.8187 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/1.168, allocations: 8.688 kB / 0.8187 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/1.169, allocations: 326.1 kB / 0.819 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/1.169, allocations: 8.281 kB / 0.819 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/1.171, allocations: 223.3 kB / 0.8192 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.171, allocations: 53.38 kB / 0.8193 GB, free: 6.855 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 (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.0009201/1.172, allocations: 417.7 kB / 0.8197 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/1.173, allocations: 154.7 kB / 0.8198 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/1.176, allocations: 1.365 MB / 0.8211 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/1.176, allocations: 8.344 kB / 0.8211 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.176, allocations: 0 / 0.8211 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/1.176, allocations: 3.984 kB / 0.8211 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/1.181, allocations: 2.893 MB / 0.824 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.182, allocations: 3.312 kB / 0.824 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.183, allocations: 246 kB / 0.8242 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/1.183, allocations: 12.25 kB / 0.8242 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-05/1.183, allocations: 28.39 kB / 0.8242 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006503/1.183, allocations: 1.196 MB / 0.8254 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.183, allocations: 7.938 kB / 0.8254 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/1.188, allocations: 2.119 MB / 0.8275 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000799/1.189, allocations: 367.1 kB / 0.8278 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/1.189, allocations: 24.2 kB / 0.8279 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.191, allocations: 157.8 kB / 0.828 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/1.191, allocations: 75.81 kB / 0.8281 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-05/1.191, allocations: 38.28 kB / 0.8281 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001343/1.192, allocations: 0.895 MB / 0.829 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/1.192, allocations: 0 / 0.829 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002389/1.195, allocations: 0.7941 MB / 0.8298 GB, free: 2.531 MB / 0.5919 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.001228/1.196, allocations: 465.7 kB / 0.8302 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005316/1.201, allocations: 2.106 MB / 0.8323 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.201, allocations: 1.859 kB / 0.8323 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/1.203, allocations: 0.6371 MB / 0.8329 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/1.207, allocations: 0.6886 MB / 0.8336 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006538/1.214, allocations: 3.382 MB / 0.8369 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.215, allocations: 1.226 MB / 0.8381 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006806/1.216, allocations: 139.2 kB / 0.8382 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/1.216, allocations: 0 / 0.8382 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Templates: time 0.05628/1.272, allocations: 37.66 MB / 0.875 GB, free: 6.836 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)