Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6969/0.6969, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009473/0.0009473, allocations: 184 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.3 MB / 441.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008763/0.0008763, allocations: 91.95 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001664/0.001664, allocations: 265.3 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.79e-05/2.793e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3372, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.899/4.236, allocations: 2.146 GB / 2.911 GB, free: 125.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/4.236, allocations: 87.77 kB / 2.911 GB, free: 125.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.91/7.146, allocations: 0.9548 GB / 3.865 GB, free: 99.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.954e-06/7.146, allocations: 0 / 3.865 GB, free: 99.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002499/7.147, allocations: 47.22 kB / 3.865 GB, free: 99.88 MB / 0.7292 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.006552/7.153, allocations: 2.095 MB / 3.868 GB, free: 99.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/7.153, allocations: 9.625 kB / 3.868 GB, free: 99.32 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004007/7.154, allocations: 151.1 kB / 3.868 GB, free: 99.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003559/7.157, allocations: 0.5457 MB / 3.868 GB, free: 99.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003954/7.161, allocations: 1.365 MB / 3.87 GB, free: 98.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006165/7.162, allocations: 221.2 kB / 3.87 GB, free: 98.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/7.162, allocations: 108 kB / 3.87 GB, free: 98.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/7.164, allocations: 1.205 MB / 3.871 GB, free: 98.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/7.164, allocations: 3.25 kB / 3.871 GB, free: 98.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/7.164, allocations: 41.06 kB / 3.871 GB, free: 98.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/7.164, allocations: 44.83 kB / 3.871 GB, free: 98.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/7.166, allocations: 1.032 MB / 3.872 GB, free: 98.71 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.008432/7.174, allocations: 5.526 MB / 3.878 GB, free: 96.65 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/7.175, allocations: 0.7887 MB / 3.878 GB, free: 96.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/7.176, allocations: 427.6 kB / 3.879 GB, free: 96.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/7.177, allocations: 0.7512 MB / 3.879 GB, free: 95.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007096/7.178, allocations: 0.5074 MB / 3.88 GB, free: 95.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 2.796e-06/7.178, allocations: 0 / 3.88 GB, free: 95.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.001773/7.179, allocations: 0.9451 MB / 3.881 GB, free: 95.67 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/7.179, allocations: 114.6 kB / 3.881 GB, free: 95.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/7.181, allocations: 1.135 MB / 3.882 GB, free: 95.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/7.181, allocations: 50.64 kB / 3.882 GB, free: 95.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/7.181, allocations: 0.6359 MB / 3.883 GB, free: 95.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/7.182, allocations: 285.1 kB / 3.883 GB, free: 95.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/7.182, allocations: 20.44 kB / 3.883 GB, free: 95.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.258e-05/7.182, allocations: 349.7 kB / 3.883 GB, free: 94.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005887/7.182, allocations: 393.7 kB / 3.884 GB, free: 94.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/7.183, allocations: 0.7007 MB / 3.884 GB, free: 94.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/7.184, allocations: 484.6 kB / 3.885 GB, free: 94.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/7.184, allocations: 3.844 kB / 3.885 GB, free: 94.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001843/7.186, allocations: 1.244 MB / 3.886 GB, free: 94.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003028/7.186, allocations: 1.909 MB / 3.888 GB, free: 92.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/7.186, allocations: 8.375 kB / 3.888 GB, free: 92.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/7.186, allocations: 14.8 kB / 3.888 GB, free: 92.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/7.188, allocations: 345.5 kB / 3.888 GB, free: 92.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004512/7.188, allocations: 1.201 MB / 3.89 GB, free: 91.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/7.19, allocations: 246.4 kB / 3.89 GB, free: 91.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/7.19, allocations: 59.22 kB / 3.89 GB, free: 91.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/7.19, allocations: 3.656 kB / 3.89 GB, free: 91.07 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001576/7.191, allocations: 1.086 MB / 3.891 GB, free: 91.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/7.191, allocations: 9.188 kB / 3.891 GB, free: 91.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/7.191, allocations: 10.97 kB / 3.891 GB, free: 91.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/7.193, allocations: 337.8 kB / 3.891 GB, free: 91.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/7.193, allocations: 15.2 kB / 3.891 GB, free: 91.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/7.194, allocations: 233.4 kB / 3.891 GB, free: 90.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/7.195, allocations: 57.5 kB / 3.892 GB, free: 90.98 MB / 0.7292 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * 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.0002424/7.195, allocations: 174.7 kB / 3.892 GB, free: 90.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/7.195, allocations: 151.1 kB / 3.892 GB, free: 90.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/7.197, allocations: 1.119 MB / 3.893 GB, free: 90.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/7.197, allocations: 11.38 kB / 3.893 GB, free: 90.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/7.197, allocations: 3.094 kB / 3.893 GB, free: 90.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/7.197, allocations: 7.75 kB / 3.893 GB, free: 90.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/7.201, allocations: 2.656 MB / 3.896 GB, free: 90.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/7.201, allocations: 1.594 kB / 3.896 GB, free: 90.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/7.202, allocations: 256.2 kB / 3.896 GB, free: 90.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/7.202, allocations: 7.531 kB / 3.896 GB, free: 90.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/7.202, allocations: 31.45 kB / 3.896 GB, free: 90.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003218/7.202, allocations: 1.191 MB / 3.897 GB, free: 89.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/7.202, allocations: 9.75 kB / 3.897 GB, free: 89.08 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/7.205, allocations: 1.947 MB / 3.899 GB, free: 88.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000677/7.205, allocations: 381.6 kB / 3.899 GB, free: 88.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/7.205, allocations: 18.06 kB / 3.899 GB, free: 88.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/7.207, allocations: 147.6 kB / 3.899 GB, free: 88.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/7.207, allocations: 78.69 kB / 3.899 GB, free: 88.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.408e-05/7.207, allocations: 37.05 kB / 3.9 GB, free: 88.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001082/7.208, allocations: 0.8653 MB / 3.9 GB, free: 88.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/7.208, allocations: 3.656 kB / 3.9 GB, free: 88.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002935/7.211, allocations: 0.9919 MB / 3.901 GB, free: 88.07 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * 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 (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.006267/7.217, allocations: 5.414 MB / 3.907 GB, free: 85.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003061/7.22, allocations: 1.771 MB / 3.908 GB, free: 85.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/7.22, allocations: 0 / 3.908 GB, free: 85.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008171/7.221, allocations: 0.5325 MB / 3.909 GB, free: 85.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/7.225, allocations: 0.6659 MB / 3.91 GB, free: 85.37 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/7.23, allocations: 2.442 MB / 3.912 GB, free: 84.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/7.23, allocations: 1.262 MB / 3.913 GB, free: 83.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002245/7.233, allocations: 0.5149 MB / 3.914 GB, free: 83.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000656/7.233, allocations: 0.5593 MB / 3.914 GB, free: 83.91 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/7.233, allocations: 0 / 3.914 GB, free: 83.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09665/7.33, allocations: 74.42 MB / 3.987 GB, free: 81.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/7.33, allocations: 253.2 kB / 3.987 GB, free: 81.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.22/11.55, allocations: 5.484 kB / 3.987 GB, free: 81.06 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)