Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.853/2.853, allocations: 287.3 MB / 302.3 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 181 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 100.1 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006615/0.0006617, allocations: 16.61 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2212, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002526/0.2237, allocations: 1.635 MB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003775/0.2276, allocations: 2.204 MB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.2278, allocations: 4 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.2297, allocations: 498.5 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.2299, allocations: 59.83 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008931/0.2308, allocations: 198.8 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.2312, allocations: 255.5 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.2314, allocations: 85 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2316, allocations: 103.5 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.2317, allocations: 107.5 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.2318, allocations: 4 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.2323, allocations: 267.6 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.2324, allocations: 95.61 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.668e-05/0.2325, allocations: 121.4 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006726/0.2332, allocations: 0.5884 MB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.2332, allocations: 0 / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2333, allocations: 0 / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2333, allocations: 4 kB / 0.9843 GB, free: 22.16 MB / 0.6198 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.001035/0.2343, allocations: 0.7752 MB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2344, allocations: 8.031 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.59e-05/0.2345, allocations: 67.2 kB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.2349, allocations: 327.8 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2349, allocations: 8 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.2349, allocations: 4 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.2352, allocations: 132 kB / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2352, allocations: 4 kB / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.2353, allocations: 8 kB / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2353, allocations: 0 / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.2355, allocations: 100.1 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008452/0.2364, allocations: 0.5319 MB / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.2366, allocations: 114.5 kB / 0.9863 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.2367, allocations: 4.094 kB / 0.9863 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.2369, allocations: 133.1 kB / 0.9864 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.2369, allocations: 0 / 0.9864 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005845/0.2375, allocations: 387.5 kB / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.2376, allocations: 85.11 kB / 0.9868 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.2387, allocations: 0.7503 MB / 0.9876 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2387, allocations: 37.62 kB / 0.9876 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.239, allocations: 280.2 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.2391, allocations: 27.69 kB / 0.9879 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/0.2391, allocations: 0 / 0.9879 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.2391, allocations: 310 kB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2393, allocations: 47.97 kB / 0.9882 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.2394, allocations: 43.98 kB / 0.9883 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.2395, allocations: 74.12 kB / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2395, allocations: 0 / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003867/0.2399, allocations: 274.4 kB / 0.9886 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.24, allocations: 41.69 kB / 0.9887 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.24, allocations: 0 / 0.9887 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.24, allocations: 0 / 0.9887 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.2401, allocations: 8 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2401, allocations: 0 / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.2403, allocations: 19.83 kB / 0.9887 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.2403, allocations: 4 kB / 0.9887 GB, free: 17.34 MB / 0.6198 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 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003738/0.2407, allocations: 335.4 kB / 0.989 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.2408, allocations: 59.3 kB / 0.9891 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/0.2413, allocations: 296.5 kB / 0.9894 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2414, allocations: 3.984 kB / 0.9894 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2414, allocations: 4 kB / 0.9894 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2414, allocations: 0 / 0.9894 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.2418, allocations: 369.5 kB / 0.9897 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2418, allocations: 0 / 0.9897 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.2419, allocations: 4 kB / 0.9897 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2419, allocations: 3.953 kB / 0.9897 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.2419, allocations: 8 kB / 0.9897 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.2419, allocations: 128 / 0.9897 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.242, allocations: 4 kB / 0.9897 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.2424, allocations: 309.9 kB / 0.99 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.2426, allocations: 148.2 kB / 0.9902 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.2427, allocations: 11.95 kB / 0.9902 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.2429, allocations: 7.938 kB / 0.9902 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.2429, allocations: 11.98 kB / 0.9902 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.243, allocations: 4 kB / 0.9902 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008345/0.2438, allocations: 0.5614 MB / 0.9908 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2438, allocations: 3.938 kB / 0.9908 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005213/0.2443, allocations: 120 kB / 0.9909 GB, free: 14.98 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004588/0.2448, allocations: 179.2 kB / 0.991 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.2452, allocations: 203.3 kB / 0.9912 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2452, allocations: 4 kB / 0.9912 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.2454, allocations: 147.3 kB / 0.9914 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.246, allocations: 98.86 kB / 0.9915 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.2478, allocations: 1.09 MB / 0.9925 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.2483, allocations: 0.9819 MB / 0.9935 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.2485, allocations: 17.55 kB / 0.9935 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.2485, allocations: 19.44 kB / 0.9935 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of SimCode: time 6.42e-07/0.2485, allocations: 0 / 0.9935 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.0132/0.2617, allocations: 4.863 MB / 0.9983 GB, free: 7.344 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)