Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004938/0.004938, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001101/0.001102, allocations: 189.7 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6661/0.6661, allocations: 95.49 MB / 365.4 MB, free: 9.688 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 82.39 kB / 0.5037 GB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1633, allocations: 69.09 MB / 0.5711 GB, free: 8.266 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002892/0.1662, allocations: 1.944 MB / 0.573 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.1692, allocations: 2.52 MB / 0.5755 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1693, allocations: 0 / 0.5755 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1704, allocations: 481.9 kB / 0.576 GB, free: 3.301 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.1706, allocations: 59.61 kB / 0.576 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008117/0.1714, allocations: 282.8 kB / 0.5763 GB, free: 2.969 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.1718, allocations: 306.5 kB / 0.5766 GB, free: 2.668 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.172, allocations: 88.66 kB / 0.5767 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.1721, allocations: 103.5 kB / 0.5768 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1723, allocations: 131.2 kB / 0.5769 GB, free: 2.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1723, allocations: 8 kB / 0.5769 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.1728, allocations: 315.6 kB / 0.5772 GB, free: 2.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.1729, allocations: 103.5 kB / 0.5773 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.1731, allocations: 198.5 kB / 0.5775 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.1738, allocations: 0.7594 MB / 0.5782 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1738, allocations: 4 kB / 0.5782 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1738, allocations: 7.938 kB / 0.5782 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1738, allocations: 0 / 0.5782 GB, free: 0.9648 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001011/0.1748, allocations: 0.8333 MB / 0.579 GB, free: 76 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1749, allocations: 11.98 kB / 0.5791 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.175, allocations: 64.19 kB / 0.5791 GB, free: 0 / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.1755, allocations: 363.6 kB / 0.5795 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1755, allocations: 8 kB / 0.5795 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.1756, allocations: 4 kB / 0.5795 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.1759, allocations: 133.6 kB / 0.5796 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.176, allocations: 0 / 0.5796 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.176, allocations: 4 kB / 0.5796 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.176, allocations: 4 kB / 0.5796 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.1762, allocations: 103.9 kB / 0.5797 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.1769, allocations: 0.5278 MB / 0.5802 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.177, allocations: 102.5 kB / 0.5803 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.1771, allocations: 68.97 kB / 0.5804 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.1772, allocations: 4 kB / 0.5804 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1774, allocations: 148.9 kB / 0.5805 GB, free: 14.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.1774, allocations: 0 / 0.5805 GB, free: 14.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004303/0.1778, allocations: 294.6 kB / 0.5808 GB, free: 14.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.1779, allocations: 85.09 kB / 0.5809 GB, free: 14.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/0.1787, allocations: 0.762 MB / 0.5816 GB, free: 13.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1788, allocations: 25.7 kB / 0.5817 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.179, allocations: 284.1 kB / 0.5819 GB, free: 12.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.179, allocations: 23.7 kB / 0.582 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.1791, allocations: 33.64 kB / 0.582 GB, free: 12.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.1792, allocations: 313.9 kB / 0.5823 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.1793, allocations: 51.91 kB / 0.5823 GB, free: 12.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.1793, allocations: 43.92 kB / 0.5824 GB, free: 12.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.1795, allocations: 164.2 kB / 0.5825 GB, free: 12.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1795, allocations: 0 / 0.5825 GB, free: 12.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000312/0.1798, allocations: 255 kB / 0.5828 GB, free: 12.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.1799, allocations: 42.78 kB / 0.5828 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1799, allocations: 4.062 kB / 0.5828 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1799, allocations: 0 / 0.5828 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.18, allocations: 11.94 kB / 0.5828 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.18, allocations: 0 / 0.5828 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1802, allocations: 19.78 kB / 0.5829 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1802, allocations: 7.984 kB / 0.5829 GB, free: 11.93 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.000281/0.1805, allocations: 331.4 kB / 0.5832 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.1805, allocations: 59.25 kB / 0.5832 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.181, allocations: 300.6 kB / 0.5835 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.181, allocations: 0 / 0.5835 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.181, allocations: 0 / 0.5835 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.181, allocations: 3.938 kB / 0.5835 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.1813, allocations: 365.5 kB / 0.5839 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1814, allocations: 0 / 0.5839 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.1814, allocations: 15.92 kB / 0.5839 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1814, allocations: 4 kB / 0.5839 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1814, allocations: 0 / 0.5839 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1814, allocations: 4 kB / 0.5839 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1814, allocations: 0 / 0.5839 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.1818, allocations: 317.8 kB / 0.5842 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.182, allocations: 144.3 kB / 0.5843 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.182, allocations: 0 / 0.5843 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1821, allocations: 7.984 kB / 0.5843 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.1822, allocations: 8 kB / 0.5844 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1822, allocations: 11.94 kB / 0.5844 GB, free: 10.26 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005932/0.1828, allocations: 0.5614 MB / 0.5849 GB, free: 9.707 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1828, allocations: 0 / 0.5849 GB, free: 9.707 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004128/0.1832, allocations: 124 kB / 0.585 GB, free: 9.586 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0003738/0.1836, allocations: 183.1 kB / 0.5852 GB, free: 9.395 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.1839, allocations: 211.3 kB / 0.5854 GB, free: 9.176 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1839, allocations: 4 kB / 0.5854 GB, free: 9.172 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.1841, allocations: 151.3 kB / 0.5856 GB, free: 9.012 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.1846, allocations: 104.7 kB / 0.5857 GB, free: 8.906 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1861, allocations: 1.022 MB / 0.5867 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.1866, allocations: 0.9622 MB / 0.5876 GB, free: 6.867 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.762e-05/0.1867, allocations: 25.47 kB / 0.5876 GB, free: 6.844 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.1868, allocations: 15.44 kB / 0.5876 GB, free: 6.832 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1868, allocations: 0 / 0.5876 GB, free: 6.832 MB / 462.1 MB Notification: Performance of Templates: time 0.009961/0.1967, allocations: 5.248 MB / 0.5928 GB, free: 1.629 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)