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.001344/0.001345, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001368/0.001368, allocations: 194.8 kB / 16.14 MB, free: 6.723 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002611/0.002611, allocations: 292.1 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002831/0.002831, allocations: 95.91 kB / 0.6057 GB, free: 25.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1607, allocations: 89.15 MB / 0.6928 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003378/0.1641, allocations: 2.174 MB / 0.6949 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1659, allocations: 1.06 MB / 0.6959 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.884e-05/0.166, allocations: 3.938 kB / 0.6959 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.982e-05/0.166, allocations: 15.84 kB / 0.696 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.1663, allocations: 75.42 kB / 0.696 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.1667, allocations: 143.7 kB / 0.6962 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.167, allocations: 286.8 kB / 0.6964 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.1671, allocations: 56.7 kB / 0.6965 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1673, allocations: 99.56 kB / 0.6966 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1675, allocations: 139.4 kB / 0.6967 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.1675, allocations: 8 kB / 0.6967 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.168, allocations: 283.7 kB / 0.697 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.168, allocations: 51.7 kB / 0.6971 GB, free: 452 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1681, allocations: 115.2 kB / 0.6972 GB, free: 336 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.1685, allocations: 315.2 kB / 0.6975 GB, free: 20 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1685, allocations: 0 / 0.6975 GB, free: 20 kB / 494.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1685, allocations: 0 / 0.6975 GB, free: 20 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.1686, allocations: 0 / 0.6975 GB, free: 20 kB / 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.001161/0.1697, allocations: 0.6311 MB / 0.6981 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1698, allocations: 8.031 kB / 0.6981 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.17, allocations: 40.56 kB / 0.6981 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.1703, allocations: 275.5 kB / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1704, allocations: 12.66 kB / 0.6984 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.1704, allocations: 12.38 kB / 0.6984 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.171, allocations: 236.9 kB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.171, allocations: 3.938 kB / 0.6986 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.171, allocations: 11.98 kB / 0.6987 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.171, allocations: 4 kB / 0.6987 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.1717, allocations: 195.8 kB / 0.6988 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.173, allocations: 0.9463 MB / 0.6998 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008313/0.1738, allocations: 233.2 kB / 0.7 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.1742, allocations: 109.6 kB / 0.7001 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1742, allocations: 7.938 kB / 0.7001 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1742, allocations: 34.56 kB / 0.7001 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.1742, allocations: 0 / 0.7001 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001197/0.1754, allocations: 337.4 kB / 0.7005 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.1755, allocations: 85.11 kB / 0.7005 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1758, allocations: 274.9 kB / 0.7008 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1758, allocations: 25.7 kB / 0.7008 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.176, allocations: 156.2 kB / 0.701 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.176, allocations: 59.19 kB / 0.701 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.1761, allocations: 41.72 kB / 0.7011 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1763, allocations: 342.7 kB / 0.7014 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.1766, allocations: 95.86 kB / 0.7015 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.177, allocations: 149.9 kB / 0.7016 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.1777, allocations: 229.8 kB / 0.7019 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1777, allocations: 3.938 kB / 0.7019 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008656/0.1786, allocations: 293 kB / 0.7021 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1786, allocations: 9.094 kB / 0.7021 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1786, allocations: 0 / 0.7021 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.1786, allocations: 4 kB / 0.7021 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.179, allocations: 60.14 kB / 0.7022 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.179, allocations: 7.938 kB / 0.7022 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.1792, allocations: 43.7 kB / 0.7023 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1793, allocations: 12 kB / 0.7023 GB, free: 10.79 MB / 0.4981 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 0.0001355/0.1794, allocations: 129.8 kB / 0.7024 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.1795, allocations: 31.66 kB / 0.7024 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008413/0.1804, allocations: 283.8 kB / 0.7027 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1804, allocations: 4 kB / 0.7027 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1804, allocations: 4 kB / 0.7027 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1804, allocations: 4 kB / 0.7027 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.1808, allocations: 297.3 kB / 0.703 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1808, allocations: 3.938 kB / 0.703 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.1811, allocations: 51.89 kB / 0.703 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1811, allocations: 4 kB / 0.703 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1812, allocations: 4 kB / 0.703 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1812, allocations: 0 / 0.703 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1812, allocations: 4 kB / 0.703 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/0.1821, allocations: 439.7 kB / 0.7035 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.1822, allocations: 108.6 kB / 0.7036 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.1822, allocations: 4 kB / 0.7036 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.1825, allocations: 31.91 kB / 0.7036 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.1826, allocations: 19.97 kB / 0.7036 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.1826, allocations: 4 kB / 0.7036 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001916/0.1828, allocations: 190 kB / 0.7038 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1828, allocations: 0 / 0.7038 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003703/0.1832, allocations: 56 kB / 0.7039 GB, free: 9.043 MB / 0.4981 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.0001891/0.1834, allocations: 119.2 kB / 0.704 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007645/0.1841, allocations: 236 kB / 0.7042 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1841, allocations: 0 / 0.7042 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.1845, allocations: 119.8 kB / 0.7043 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.1851, allocations: 75.08 kB / 0.7044 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008668/0.186, allocations: 0.5155 MB / 0.7049 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1864, allocations: 0.748 MB / 0.7056 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.1866, allocations: 42.34 kB / 0.7057 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.1867, allocations: 19.44 kB / 0.7057 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1867, allocations: 4 kB / 0.7057 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of Templates: time 0.007906/0.1946, allocations: 3.58 MB / 0.7092 GB, free: 3.621 MB / 0.4981 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)