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.006446/0.006446, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001174/0.001174, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.635/1.635, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.6244/0.6244, allocations: 95.48 MB / 365.4 MB, free: 9.758 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.002004/0.002004, allocations: 66.09 kB / 0.5037 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1799, allocations: 69.1 MB / 0.5711 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.004201/0.1842, allocations: 1.956 MB / 0.573 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004035/0.1883, allocations: 2.505 MB / 0.5755 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.1886, allocations: 4 kB / 0.5755 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.1901, allocations: 481.9 kB / 0.5759 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1904, allocations: 63.67 kB / 0.576 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1915, allocations: 282.1 kB / 0.5763 GB, free: 2.969 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.1921, allocations: 310.5 kB / 0.5766 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.1923, allocations: 92.66 kB / 0.5767 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.1925, allocations: 103.4 kB / 0.5768 GB, free: 2.473 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.1928, allocations: 123.3 kB / 0.5769 GB, free: 2.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.1928, allocations: 8 kB / 0.5769 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000707/0.1935, allocations: 323.5 kB / 0.5772 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.1937, allocations: 103.5 kB / 0.5773 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.194, allocations: 198.6 kB / 0.5775 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.1952, allocations: 0.7593 MB / 0.5782 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.1952, allocations: 7.984 kB / 0.5782 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1953, allocations: 0 / 0.5782 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.621e-05/0.1953, allocations: 0 / 0.5782 GB, free: 0.9609 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.001614/0.1969, allocations: 0.8294 MB / 0.579 GB, free: 76 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/0.197, allocations: 15.98 kB / 0.5791 GB, free: 60 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.1971, allocations: 64.23 kB / 0.5791 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.1977, allocations: 367.6 kB / 0.5795 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.1977, allocations: 4 kB / 0.5795 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1977, allocations: 15.94 kB / 0.5795 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.198, allocations: 121.6 kB / 0.5796 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.198, allocations: 0 / 0.5796 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.1981, allocations: 8 kB / 0.5796 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1981, allocations: 0 / 0.5796 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1983, allocations: 99.88 kB / 0.5797 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009403/0.1992, allocations: 0.5395 MB / 0.5802 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1994, allocations: 102.6 kB / 0.5803 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.1995, allocations: 64.97 kB / 0.5804 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.468e-05/0.1996, allocations: 4 kB / 0.5804 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.1998, allocations: 140.9 kB / 0.5805 GB, free: 14.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.1998, allocations: 7.938 kB / 0.5805 GB, free: 14.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005863/0.2004, allocations: 298.6 kB / 0.5808 GB, free: 14.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.2005, allocations: 81.11 kB / 0.5809 GB, free: 14.01 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.2015, allocations: 0.762 MB / 0.5816 GB, free: 13.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2016, allocations: 25.7 kB / 0.5817 GB, free: 13.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.2018, allocations: 284.1 kB / 0.5819 GB, free: 12.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.2019, allocations: 15.72 kB / 0.582 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.202, allocations: 33.7 kB / 0.582 GB, free: 12.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2021, allocations: 313.9 kB / 0.5823 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.2022, allocations: 47.97 kB / 0.5823 GB, free: 12.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.862e-05/0.2023, allocations: 52.3 kB / 0.5824 GB, free: 12.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.2026, allocations: 156.2 kB / 0.5825 GB, free: 12.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2026, allocations: 0 / 0.5825 GB, free: 12.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003748/0.2029, allocations: 262.6 kB / 0.5828 GB, free: 12.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/0.203, allocations: 37.69 kB / 0.5828 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.203, allocations: 0 / 0.5828 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.2031, allocations: 3.938 kB / 0.5828 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2032, allocations: 8 kB / 0.5828 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2032, allocations: 4 kB / 0.5828 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.2033, allocations: 23.77 kB / 0.5829 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.2034, allocations: 4 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.0003753/0.2038, allocations: 335.3 kB / 0.5832 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.2039, allocations: 67.23 kB / 0.5832 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.2043, allocations: 292.6 kB / 0.5835 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2044, allocations: 0 / 0.5835 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2044, allocations: 0 / 0.5835 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2044, allocations: 7.938 kB / 0.5835 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.2048, allocations: 365.5 kB / 0.5839 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2048, allocations: 0 / 0.5839 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.2048, allocations: 8 kB / 0.5839 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2048, allocations: 128 / 0.5839 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.2049, allocations: 12 kB / 0.5839 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2049, allocations: 0 / 0.5839 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2049, allocations: 0 / 0.5839 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.2053, allocations: 313.8 kB / 0.5842 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.2055, allocations: 144.3 kB / 0.5843 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/0.2055, allocations: 11.92 kB / 0.5843 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2056, allocations: 8 kB / 0.5844 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.2057, allocations: 7.938 kB / 0.5844 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.2057, allocations: 11.92 kB / 0.5844 GB, free: 10.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007438/0.2065, allocations: 0.5653 MB / 0.5849 GB, free: 9.691 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2065, allocations: 0 / 0.5849 GB, free: 9.691 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000516/0.207, allocations: 116 kB / 0.585 GB, free: 9.578 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.0004984/0.2075, allocations: 191.2 kB / 0.5852 GB, free: 9.379 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.2079, allocations: 207.3 kB / 0.5854 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2079, allocations: 0 / 0.5854 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.2081, allocations: 143.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.0005232/0.2086, allocations: 112.9 kB / 0.5857 GB, free: 8.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.2104, allocations: 1.013 MB / 0.5867 GB, free: 7.859 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.2111, allocations: 0.9622 MB / 0.5876 GB, free: 6.871 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.2112, allocations: 25.55 kB / 0.5876 GB, free: 6.848 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.2113, allocations: 19.38 kB / 0.5876 GB, free: 6.832 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2113, allocations: 0 / 0.5876 GB, free: 6.832 MB / 462.1 MB Notification: Performance of Templates: time 0.01229/0.2236, allocations: 5.183 MB / 0.5927 GB, free: 1.691 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)