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.008038/0.008038, allocations: 100 kB / 15.73 MB, free: 6.004 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.001507/0.001507, allocations: 201.2 kB / 16.68 MB, free: 5.93 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 287.1 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9335/0.9335, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 99.84 kB / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1626, allocations: 86.98 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002991/0.1656, allocations: 2.113 MB / 0.7685 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1672, allocations: 1.033 MB / 0.7695 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1673, allocations: 11.88 kB / 0.7695 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.127e-05/0.1674, allocations: 23.67 kB / 0.7695 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.1677, allocations: 87.28 kB / 0.7696 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.1681, allocations: 183.5 kB / 0.7698 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.1684, allocations: 298.8 kB / 0.77 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.1686, allocations: 64.59 kB / 0.7701 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1687, allocations: 107.5 kB / 0.7702 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.1689, allocations: 143.3 kB / 0.7703 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.1689, allocations: 20 kB / 0.7704 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.1693, allocations: 299.6 kB / 0.7706 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.1694, allocations: 47.78 kB / 0.7707 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1695, allocations: 115.3 kB / 0.7708 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.1699, allocations: 334.8 kB / 0.7711 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1699, allocations: 0 / 0.7711 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1699, allocations: 3.938 kB / 0.7711 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.1699, allocations: 0 / 0.7711 GB, free: 3.562 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009666/0.1709, allocations: 0.6271 MB / 0.7717 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1709, allocations: 8.031 kB / 0.7717 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.1711, allocations: 40.55 kB / 0.7718 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.1715, allocations: 295.5 kB / 0.7721 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1715, allocations: 8.656 kB / 0.7721 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1715, allocations: 16.38 kB / 0.7721 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.172, allocations: 229 kB / 0.7723 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.172, allocations: 3.938 kB / 0.7723 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.172, allocations: 4 kB / 0.7723 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1721, allocations: 4 kB / 0.7723 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.1727, allocations: 199.8 kB / 0.7725 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.1738, allocations: 0.9383 MB / 0.7734 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.1745, allocations: 237.2 kB / 0.7737 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.1748, allocations: 113.6 kB / 0.7738 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1749, allocations: 8.25 kB / 0.7738 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1749, allocations: 38.5 kB / 0.7738 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.582e-06/0.1749, allocations: 0 / 0.7738 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001122/0.176, allocations: 337 kB / 0.7741 GB, free: 276 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1761, allocations: 89.09 kB / 0.7742 GB, free: 168 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3429/0.519, allocations: 258.2 kB / 0.7745 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.5191, allocations: 27.39 kB / 0.7745 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.5192, allocations: 158 kB / 0.7746 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.5193, allocations: 57.36 kB / 0.7747 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.5194, allocations: 40.77 kB / 0.7747 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.5195, allocations: 336 kB / 0.775 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.5199, allocations: 91.17 kB / 0.7751 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.5202, allocations: 143.4 kB / 0.7753 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/0.521, allocations: 234.9 kB / 0.7755 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.521, allocations: 1.984 kB / 0.7755 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008837/0.5219, allocations: 305.6 kB / 0.7758 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5219, allocations: 6.953 kB / 0.7758 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5219, allocations: 1.969 kB / 0.7758 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.5219, allocations: 8.031 kB / 0.7758 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.5222, allocations: 59.58 kB / 0.7759 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5223, allocations: 6.984 kB / 0.7759 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.5225, allocations: 38.53 kB / 0.7759 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.5225, allocations: 10.64 kB / 0.7759 GB, free: 15.11 MB / 0.5606 GB 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 9.414e-05/0.5226, allocations: 128.7 kB / 0.776 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.5227, allocations: 25.28 kB / 0.7761 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008285/0.5236, allocations: 296.7 kB / 0.7763 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5236, allocations: 2.312 kB / 0.7763 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5236, allocations: 4.266 kB / 0.7764 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5236, allocations: 5 kB / 0.7764 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.524, allocations: 294.8 kB / 0.7766 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.524, allocations: 0.8906 kB / 0.7766 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.5243, allocations: 55 kB / 0.7767 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5243, allocations: 1.062 kB / 0.7767 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.5243, allocations: 10.34 kB / 0.7767 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5243, allocations: 1.422 kB / 0.7767 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5243, allocations: 1.062 kB / 0.7767 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007909/0.5251, allocations: 448.3 kB / 0.7771 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.5252, allocations: 99.16 kB / 0.7772 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.5252, allocations: 9.984 kB / 0.7772 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.5255, allocations: 30.67 kB / 0.7773 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.5255, allocations: 19.61 kB / 0.7773 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.5256, allocations: 4.594 kB / 0.7773 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001796/0.5258, allocations: 193.5 kB / 0.7775 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5258, allocations: 1.125 kB / 0.7775 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003763/0.5261, allocations: 57.75 kB / 0.7775 GB, free: 14.11 MB / 0.5606 GB 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.0001969/0.5263, allocations: 122.5 kB / 0.7776 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007835/0.5271, allocations: 223.4 kB / 0.7779 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5271, allocations: 0 / 0.7779 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.5275, allocations: 119.6 kB / 0.778 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.5281, allocations: 76.06 kB / 0.778 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.5288, allocations: 439 kB / 0.7785 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.529, allocations: 0.7519 MB / 0.7792 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00013/0.5292, allocations: 30.83 kB / 0.7792 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.5292, allocations: 30.77 kB / 0.7793 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5293, allocations: 0 / 0.7793 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.007986/0.5372, allocations: 4.096 MB / 0.7833 GB, free: 12.68 MB / 0.5606 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)