Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 106.8 kB / 16.35 MB, free: 5.824 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.001764/0.001764, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002227/0.002226, allocations: 298.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9347/0.9347, allocations: 169.2 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 91.61 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1539, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002979/0.1569, allocations: 2.112 MB / 0.6837 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1584, allocations: 1.045 MB / 0.6847 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.632e-05/0.1585, allocations: 7.938 kB / 0.6847 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.816e-05/0.1585, allocations: 23.67 kB / 0.6847 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.1588, allocations: 87.27 kB / 0.6848 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.1592, allocations: 187.5 kB / 0.685 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.1595, allocations: 298.8 kB / 0.6853 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1597, allocations: 68.64 kB / 0.6853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1598, allocations: 103.6 kB / 0.6854 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.16, allocations: 147.3 kB / 0.6856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.16, allocations: 16 kB / 0.6856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.1604, allocations: 299.6 kB / 0.6859 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.1605, allocations: 51.77 kB / 0.6859 GB, free: 3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1606, allocations: 115.3 kB / 0.686 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.1609, allocations: 330.9 kB / 0.6863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.161, allocations: 7.938 kB / 0.6863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.161, allocations: 0 / 0.6863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.161, allocations: 0 / 0.6863 GB, free: 2.555 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009863/0.162, allocations: 0.6232 MB / 0.687 GB, free: 1.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.162, allocations: 8.031 kB / 0.687 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.1622, allocations: 36.64 kB / 0.687 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1626, allocations: 291.4 kB / 0.6873 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1626, allocations: 12.66 kB / 0.6873 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.1626, allocations: 16.38 kB / 0.6873 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.1631, allocations: 233 kB / 0.6875 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1631, allocations: 3.938 kB / 0.6875 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1632, allocations: 4 kB / 0.6875 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1632, allocations: 4 kB / 0.6875 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.1638, allocations: 202.8 kB / 0.6877 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.1648, allocations: 0.9344 MB / 0.6886 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2377/0.4026, allocations: 238.8 kB / 0.6889 GB, free: 18.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.4029, allocations: 107.1 kB / 0.689 GB, free: 18.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.403, allocations: 4.906 kB / 0.689 GB, free: 18.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.403, allocations: 38.06 kB / 0.689 GB, free: 18.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.403, allocations: 0 / 0.689 GB, free: 18.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001153/0.4042, allocations: 334 kB / 0.6893 GB, free: 18.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.4042, allocations: 79.05 kB / 0.6894 GB, free: 18.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.4044, allocations: 265 kB / 0.6897 GB, free: 17.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.4045, allocations: 30.48 kB / 0.6897 GB, free: 17.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.4046, allocations: 159.2 kB / 0.6898 GB, free: 17.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.4046, allocations: 56.97 kB / 0.6899 GB, free: 17.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/0.4047, allocations: 40.42 kB / 0.6899 GB, free: 17.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.4047, allocations: 338.2 kB / 0.6903 GB, free: 17.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.4051, allocations: 92.44 kB / 0.6903 GB, free: 17.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.4054, allocations: 140.8 kB / 0.6905 GB, free: 17.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.406, allocations: 247.8 kB / 0.6907 GB, free: 17.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.406, allocations: 0 / 0.6907 GB, free: 17.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007953/0.4068, allocations: 292.8 kB / 0.691 GB, free: 17.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4068, allocations: 7.406 kB / 0.691 GB, free: 17.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4069, allocations: 2.188 kB / 0.691 GB, free: 17.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4069, allocations: 7.281 kB / 0.691 GB, free: 17.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.4072, allocations: 62.78 kB / 0.6911 GB, free: 17.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4072, allocations: 2.469 kB / 0.6911 GB, free: 17.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.4074, allocations: 41.59 kB / 0.6911 GB, free: 17.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.4075, allocations: 12.66 kB / 0.6911 GB, free: 17.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/0.4076, allocations: 136.3 kB / 0.6913 GB, free: 17.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4077, allocations: 24.83 kB / 0.6913 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007644/0.4085, allocations: 291.4 kB / 0.6916 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4085, allocations: 3.094 kB / 0.6916 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4085, allocations: 1.062 kB / 0.6916 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4085, allocations: 1.594 kB / 0.6916 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.4088, allocations: 306 kB / 0.6919 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4088, allocations: 1.438 kB / 0.6919 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.4091, allocations: 54.53 kB / 0.6919 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4091, allocations: 1.594 kB / 0.6919 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.4092, allocations: 6.281 kB / 0.6919 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4092, allocations: 9.125 kB / 0.6919 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4092, allocations: 0.75 kB / 0.6919 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.41, allocations: 445.2 kB / 0.6923 GB, free: 16.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.4101, allocations: 101.5 kB / 0.6924 GB, free: 16.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.4101, allocations: 5.984 kB / 0.6924 GB, free: 16.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.4104, allocations: 28.16 kB / 0.6925 GB, free: 16.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.4105, allocations: 18.73 kB / 0.6925 GB, free: 16.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.4105, allocations: 6.375 kB / 0.6925 GB, free: 16.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.4107, allocations: 193.5 kB / 0.6927 GB, free: 16.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4107, allocations: 0 / 0.6927 GB, free: 16.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003837/0.4111, allocations: 58.05 kB / 0.6927 GB, free: 16.38 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001931/0.4113, allocations: 124 kB / 0.6929 GB, free: 16.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000773/0.412, allocations: 226.7 kB / 0.6931 GB, free: 16.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4121, allocations: 0.875 kB / 0.6931 GB, free: 16.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.4124, allocations: 116.9 kB / 0.6932 GB, free: 16.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.413, allocations: 73.08 kB / 0.6933 GB, free: 16.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007814/0.4138, allocations: 441 kB / 0.6937 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.414, allocations: 0.7505 MB / 0.6944 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.4142, allocations: 30.91 kB / 0.6944 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.4142, allocations: 27.91 kB / 0.6945 GB, free: 15.21 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4142, allocations: 0 / 0.6945 GB, free: 15.21 MB / 494.1 MB Notification: Performance of Templates: time 0.00941/0.4237, allocations: 3.969 MB / 0.6983 GB, free: 14.98 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)