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.00162/0.00162, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002029/0.002029, allocations: 194.2 kB / 16.13 MB, free: 6.668 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: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 283.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9233/0.9233, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 90.92 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1472, allocations: 86.99 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002984/0.1503, allocations: 2.161 MB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1518, allocations: 1.06 MB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.1519, allocations: 7.938 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.153e-05/0.152, allocations: 23.73 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1522, allocations: 63.47 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.1526, allocations: 151.7 kB / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.1528, allocations: 274.8 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.153, allocations: 68.91 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1531, allocations: 103.5 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1533, allocations: 131.4 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.1533, allocations: 12 kB / 0.6834 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.1537, allocations: 291.6 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.1538, allocations: 47.72 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.854e-05/0.1539, allocations: 107.3 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.1542, allocations: 318.9 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1542, allocations: 4 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1542, allocations: 4 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1542, allocations: 0 / 0.6841 GB, free: 12.39 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.00103/0.1553, allocations: 0.6232 MB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1553, allocations: 8.031 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.1555, allocations: 40.55 kB / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1558, allocations: 275.5 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1558, allocations: 12.66 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.1559, allocations: 16.38 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.1564, allocations: 232.9 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1564, allocations: 4 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1564, allocations: 4 kB / 0.6853 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1564, allocations: 4 kB / 0.6853 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/0.1571, allocations: 199.8 kB / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1582, allocations: 0.9424 MB / 0.6864 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.1589, allocations: 241.2 kB / 0.6866 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.1593, allocations: 101.6 kB / 0.6867 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1593, allocations: 7.938 kB / 0.6867 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1593, allocations: 34.88 kB / 0.6868 GB, free: 9.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.1593, allocations: 0 / 0.6868 GB, free: 9.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001119/0.1605, allocations: 341.6 kB / 0.6871 GB, free: 9.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1605, allocations: 77.11 kB / 0.6872 GB, free: 9.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.1608, allocations: 267 kB / 0.6874 GB, free: 8.758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1608, allocations: 25.7 kB / 0.6875 GB, free: 8.727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1609, allocations: 172.1 kB / 0.6876 GB, free: 8.555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.1609, allocations: 51.2 kB / 0.6877 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.161, allocations: 45.7 kB / 0.6877 GB, free: 8.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1611, allocations: 338.8 kB / 0.688 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.1614, allocations: 91.91 kB / 0.6881 GB, free: 8.023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.1618, allocations: 142 kB / 0.6883 GB, free: 7.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/0.1624, allocations: 245.7 kB / 0.6885 GB, free: 7.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1625, allocations: 4 kB / 0.6885 GB, free: 7.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008077/0.1633, allocations: 293 kB / 0.6888 GB, free: 7.305 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1633, allocations: 8 kB / 0.6888 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1633, allocations: 4.156 kB / 0.6888 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1633, allocations: 7.938 kB / 0.6888 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.1636, allocations: 67.88 kB / 0.6889 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1636, allocations: 0 / 0.6889 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.1639, allocations: 35.81 kB / 0.6889 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1639, allocations: 8 kB / 0.6889 GB, free: 7.176 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 0.0001138/0.164, allocations: 135.1 kB / 0.689 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.1641, allocations: 39.55 kB / 0.6891 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007866/0.1649, allocations: 283.2 kB / 0.6893 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1649, allocations: 0 / 0.6893 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.165, allocations: 4.266 kB / 0.6893 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.165, allocations: 4 kB / 0.6893 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.1653, allocations: 293.3 kB / 0.6896 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.1653, allocations: 7.875 kB / 0.6896 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.1656, allocations: 59.89 kB / 0.6897 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1656, allocations: 0 / 0.6897 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1656, allocations: 4 kB / 0.6897 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1656, allocations: 4 kB / 0.6897 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1656, allocations: 0 / 0.6897 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007929/0.1664, allocations: 435.9 kB / 0.6901 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.1665, allocations: 116.5 kB / 0.6902 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.1666, allocations: 7.984 kB / 0.6902 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.1668, allocations: 23.97 kB / 0.6903 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.1669, allocations: 19.97 kB / 0.6903 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1669, allocations: 8 kB / 0.6903 GB, free: 5.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.1671, allocations: 190 kB / 0.6905 GB, free: 5.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1671, allocations: 0 / 0.6905 GB, free: 5.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003393/0.1674, allocations: 52 kB / 0.6905 GB, free: 5.43 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.0001517/0.1676, allocations: 107.2 kB / 0.6906 GB, free: 5.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006894/0.1683, allocations: 231.6 kB / 0.6908 GB, free: 5.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1683, allocations: 0 / 0.6908 GB, free: 5.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.1686, allocations: 120.1 kB / 0.691 GB, free: 4.973 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.1692, allocations: 78.2 kB / 0.691 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007074/0.1699, allocations: 0.5168 MB / 0.6915 GB, free: 4.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.1702, allocations: 0.7518 MB / 0.6923 GB, free: 3.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.1704, allocations: 34.52 kB / 0.6923 GB, free: 3.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.1704, allocations: 19.44 kB / 0.6923 GB, free: 3.52 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1704, allocations: 0 / 0.6923 GB, free: 3.52 MB / 494.1 MB Notification: Performance of Templates: time 0.006408/0.1769, allocations: 3.583 MB / 0.6958 GB, free: 12 kB / 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)