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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, 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.001979/0.001979, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.416/1.416, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7784/0.7784, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.000436, allocations: 13.72 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.4264/0.6083, allocations: 175.7 MB / 0.7283 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.6226, allocations: 9.791 MB / 0.7379 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.6245, allocations: 55.62 kB / 0.7379 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.6266, allocations: 0.7114 MB / 0.7386 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006188/0.6328, allocations: 2.267 MB / 0.7408 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005149/0.638, allocations: 1.915 MB / 0.7427 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004044/0.6421, allocations: 2.194 MB / 0.7448 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.6437, allocations: 1.023 MB / 0.7458 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.6468, allocations: 1.475 MB / 0.7473 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.6481, allocations: 0.809 MB / 0.7481 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.6483, allocations: 63.94 kB / 0.7481 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.652, allocations: 1.993 MB / 0.7501 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.6524, allocations: 346.7 kB / 0.7504 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004727/0.6529, allocations: 340.8 kB / 0.7507 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.6558, allocations: 2.182 MB / 0.7529 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.6558, allocations: 4 kB / 0.7529 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6558, allocations: 4 kB / 0.7529 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.338e-05/0.6558, allocations: 0 / 0.7529 GB, free: 1.242 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.004216/0.66, allocations: 2.015 MB / 0.7548 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.6601, allocations: 12.03 kB / 0.7548 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.6603, allocations: 148.2 kB / 0.755 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/0.6631, allocations: 0.5833 MB / 0.7556 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.6652, allocations: 1.181 MB / 0.7567 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006313/0.6659, allocations: 218.1 kB / 0.7569 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.6661, allocations: 111.9 kB / 0.757 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.6686, allocations: 1.341 MB / 0.7583 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.6686, allocations: 4 kB / 0.7583 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.6687, allocations: 39.94 kB / 0.7584 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/0.6688, allocations: 46.86 kB / 0.7584 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/0.6719, allocations: 1.382 MB / 0.7598 GB, free: 10.02 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.008049/0.68, allocations: 5.353 MB / 0.765 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.6823, allocations: 1.05 MB / 0.766 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008387/0.6831, allocations: 0.6007 MB / 0.7666 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.6845, allocations: 0.625 MB / 0.7672 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=81): time 2.865e-06/0.6845, allocations: 0 / 0.7672 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.004093/0.6886, allocations: 1.651 MB / 0.7688 GB, free: 296 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.6887, allocations: 68.05 kB / 0.7689 GB, free: 212 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.6903, allocations: 1.318 MB / 0.7702 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.6905, allocations: 45.7 kB / 0.7702 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004982/0.691, allocations: 0.6465 MB / 0.7709 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.6912, allocations: 275.9 kB / 0.7711 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.6913, allocations: 24 kB / 0.7711 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6914, allocations: 345.9 kB / 0.7715 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.6926, allocations: 0.51 MB / 0.772 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.6941, allocations: 0.7759 MB / 0.7727 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.6954, allocations: 0.5941 MB / 0.7733 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.6954, allocations: 0 / 0.7733 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003192/0.6986, allocations: 1.493 MB / 0.7748 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006086/0.6992, allocations: 1.904 MB / 0.7766 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6993, allocations: 4 kB / 0.7766 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.6993, allocations: 8 kB / 0.7766 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.701, allocations: 359.4 kB / 0.777 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006364/0.7016, allocations: 1.203 MB / 0.7782 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.7032, allocations: 230.8 kB / 0.7784 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.7033, allocations: 51.97 kB / 0.7784 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.7033, allocations: 4 kB / 0.7784 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002866/0.7062, allocations: 1.337 MB / 0.7797 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.7062, allocations: 7.938 kB / 0.7797 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.7062, allocations: 12 kB / 0.7798 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.7075, allocations: 323.8 kB / 0.7801 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.7076, allocations: 11.94 kB / 0.7801 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.7089, allocations: 219.5 kB / 0.7803 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/0.7091, allocations: 47.98 kB / 0.7803 GB, free: 4.191 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.0006655/0.7097, allocations: 412.8 kB / 0.7807 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.71, allocations: 158 kB / 0.7809 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/0.713, allocations: 1.369 MB / 0.7822 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.7131, allocations: 8 kB / 0.7822 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7131, allocations: 0 / 0.7822 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.7131, allocations: 3.984 kB / 0.7822 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004946/0.718, allocations: 2.902 MB / 0.7851 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.7181, allocations: 0 / 0.7851 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.7192, allocations: 244 kB / 0.7853 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.7192, allocations: 12 kB / 0.7853 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/0.7193, allocations: 31.97 kB / 0.7853 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005203/0.7198, allocations: 1.188 MB / 0.7865 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.7198, allocations: 7.938 kB / 0.7865 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.724, allocations: 2.341 MB / 0.7888 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/0.7247, allocations: 374.8 kB / 0.7891 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.7249, allocations: 20 kB / 0.7892 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.7261, allocations: 160.3 kB / 0.7893 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.7263, allocations: 80.39 kB / 0.7894 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.485e-05/0.7263, allocations: 39.97 kB / 0.7894 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001136/0.7275, allocations: 0.8862 MB / 0.7903 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7275, allocations: 0 / 0.7903 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001841/0.7293, allocations: 0.7887 MB / 0.7911 GB, free: 8.848 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.005596/0.7349, allocations: 4.239 MB / 0.7952 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004752/0.7397, allocations: 2.089 MB / 0.7972 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7397, allocations: 4 kB / 0.7973 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.7412, allocations: 0.6451 MB / 0.7979 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.7443, allocations: 0.6862 MB / 0.7986 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/0.7522, allocations: 7.058 MB / 0.8054 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/0.753, allocations: 1.258 MB / 0.8067 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002039/0.7551, allocations: 407 kB / 0.8071 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008731/0.756, allocations: 0.5696 MB / 0.8076 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of SimCode: time 1.062e-06/0.756, allocations: 0 / 0.8076 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8998/1.656, allocations: 41.43 MB / 0.8481 GB, free: 227.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/1.656, allocations: 273.5 kB / 0.8483 GB, free: 227.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.425/5.081, allocations: 0 / 0.8483 GB, free: 227.5 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: