Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_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_8_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.001442/0.001442, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00168/0.00168, allocations: 189.2 kB / 16.25 MB, free: 6.617 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.484/1.484, allocations: 205.1 MB / 222.1 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 71.8 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2033, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003541/0.2068, allocations: 2.04 MB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003244/0.2101, allocations: 2.509 MB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.2103, allocations: 3.938 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.2114, allocations: 482.3 kB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.2116, allocations: 55.72 kB / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/0.2124, allocations: 247.2 kB / 0.7881 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.2128, allocations: 326.5 kB / 0.7884 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.2131, allocations: 96.69 kB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.2132, allocations: 99.53 kB / 0.7886 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.2135, allocations: 147.1 kB / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.2135, allocations: 8 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.214, allocations: 311.6 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.2142, allocations: 99.59 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.2144, allocations: 206.5 kB / 0.7893 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009543/0.2154, allocations: 0.7827 MB / 0.7901 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2154, allocations: 0 / 0.7901 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2154, allocations: 0 / 0.7901 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.2154, allocations: 4 kB / 0.7901 GB, free: 6.477 MB / 0.6075 GB 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.001214/0.2166, allocations: 0.8216 MB / 0.7909 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2167, allocations: 12.03 kB / 0.7909 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2168, allocations: 64.12 kB / 0.7909 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.2172, allocations: 368.4 kB / 0.7913 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.2172, allocations: 4.375 kB / 0.7913 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.2172, allocations: 12.12 kB / 0.7913 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.2174, allocations: 125.6 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2175, allocations: 4 kB / 0.7914 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2175, allocations: 4 kB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2175, allocations: 4 kB / 0.7914 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.2176, allocations: 95.94 kB / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007173/0.2184, allocations: 0.5353 MB / 0.7921 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.2185, allocations: 114.6 kB / 0.7922 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.92e-05/0.2186, allocations: 68.97 kB / 0.7922 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.2187, allocations: 4 kB / 0.7922 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.2189, allocations: 133.1 kB / 0.7924 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.2189, allocations: 0 / 0.7924 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004981/0.2194, allocations: 310.5 kB / 0.7927 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.2195, allocations: 81.11 kB / 0.7927 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008721/0.2204, allocations: 0.762 MB / 0.7935 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2204, allocations: 25.7 kB / 0.7935 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.2207, allocations: 284.2 kB / 0.7938 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.2207, allocations: 19.66 kB / 0.7938 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.2208, allocations: 33.7 kB / 0.7938 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.2209, allocations: 306 kB / 0.7941 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.2209, allocations: 47.97 kB / 0.7942 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.27e-05/0.221, allocations: 47.97 kB / 0.7942 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.2212, allocations: 156.2 kB / 0.7944 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2212, allocations: 3.938 kB / 0.7944 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003213/0.2215, allocations: 266.5 kB / 0.7946 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.2216, allocations: 37.69 kB / 0.7947 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2216, allocations: 0 / 0.7947 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2216, allocations: 7.938 kB / 0.7947 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.2217, allocations: 4 kB / 0.7947 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2217, allocations: 4 kB / 0.7947 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.2218, allocations: 19.83 kB / 0.7947 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.2219, allocations: 4 kB / 0.7947 GB, free: 1.465 MB / 0.6075 GB 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.0003242/0.2222, allocations: 340 kB / 0.795 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.2223, allocations: 59.25 kB / 0.7951 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.2227, allocations: 296.6 kB / 0.7954 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2227, allocations: 0 / 0.7954 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2227, allocations: 0 / 0.7954 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.2227, allocations: 0 / 0.7954 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.2231, allocations: 377.3 kB / 0.7957 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2231, allocations: 0 / 0.7957 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.2231, allocations: 12 kB / 0.7957 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2232, allocations: 4 kB / 0.7957 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.2232, allocations: 4 kB / 0.7957 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2232, allocations: 0 / 0.7957 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2232, allocations: 0 / 0.7957 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.2236, allocations: 310 kB / 0.796 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.2237, allocations: 136.3 kB / 0.7962 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.2238, allocations: 7.984 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.2239, allocations: 12.12 kB / 0.7962 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.2239, allocations: 11.98 kB / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.224, allocations: 8 kB / 0.7962 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006088/0.2246, allocations: 0.5614 MB / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2246, allocations: 0 / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004093/0.225, allocations: 127.9 kB / 0.7969 GB, free: 15.11 MB / 0.6231 GB 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.0004087/0.2254, allocations: 183.5 kB / 0.797 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003006/0.2257, allocations: 211.3 kB / 0.7972 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2257, allocations: 4 kB / 0.7973 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.2259, allocations: 139.4 kB / 0.7974 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.2264, allocations: 110.9 kB / 0.7975 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2278, allocations: 1.139 MB / 0.7986 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.2283, allocations: 0.966 MB / 0.7995 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.146e-05/0.2284, allocations: 21.53 kB / 0.7996 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.2284, allocations: 19.44 kB / 0.7996 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of SimCode: time 7.82e-07/0.2284, allocations: 0 / 0.7996 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of Templates: time 0.009649/0.2381, allocations: 5.127 MB / 0.8046 GB, free: 7.215 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)