Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.9/1.9, allocations: 288.4 MB / 303.3 MB, free: 8.215 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.001064/0.001064, allocations: 176.5 kB / 372 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 0.6307 GB, free: 9.93 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.0008258/0.000826, allocations: 90.86 kB / 0.744 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004559, allocations: 20.72 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2493, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002164/0.2516, allocations: 1.659 MB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002783/0.2544, allocations: 2.316 MB / 0.9835 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.2546, allocations: 4 kB / 0.9835 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.2559, allocations: 462.4 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.2561, allocations: 51.73 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009276/0.257, allocations: 207.6 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.2573, allocations: 268.2 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2575, allocations: 84.7 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.2576, allocations: 103.5 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2578, allocations: 123.4 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.2578, allocations: 7.938 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.2583, allocations: 279.6 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.2583, allocations: 95.61 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.088e-05/0.2584, allocations: 117.4 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.2589, allocations: 0.5923 MB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.2589, allocations: 0 / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2589, allocations: 0 / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.259, allocations: 0 / 0.9858 GB, free: 21.15 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.0008499/0.2598, allocations: 0.7791 MB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.2599, allocations: 12.03 kB / 0.9866 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.2599, allocations: 38.56 kB / 0.9867 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.26, allocations: 63.23 kB / 0.9867 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.2603, allocations: 339.7 kB / 0.987 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2604, allocations: 8 kB / 0.987 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.2604, allocations: 4 kB / 0.9871 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.2606, allocations: 134.1 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2607, allocations: 0 / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2607, allocations: 4 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2607, allocations: 4 kB / 0.9872 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.2608, allocations: 100.1 kB / 0.9873 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007025/0.2615, allocations: 0.532 MB / 0.9878 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.2617, allocations: 114.4 kB / 0.9879 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.2618, allocations: 60.97 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.2618, allocations: 11.98 kB / 0.988 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.2621, allocations: 129.1 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.2621, allocations: 0 / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004144/0.2625, allocations: 306.5 kB / 0.9884 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.2626, allocations: 85.05 kB / 0.9885 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.2633, allocations: 0.7542 MB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.2633, allocations: 29.7 kB / 0.9892 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.2635, allocations: 276.2 kB / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.2635, allocations: 27.59 kB / 0.9895 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.2635, allocations: 4 kB / 0.9895 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.817e-05/0.2636, allocations: 314 kB / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.2636, allocations: 43.98 kB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.2637, allocations: 47.97 kB / 0.9899 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.2638, allocations: 69.69 kB / 0.99 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2638, allocations: 4 kB / 0.99 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002411/0.2641, allocations: 266.5 kB / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.2641, allocations: 37.69 kB / 0.9903 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2641, allocations: 0 / 0.9903 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2641, allocations: 0 / 0.9903 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.2642, allocations: 8 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.2642, allocations: 0 / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.2644, allocations: 19.83 kB / 0.9903 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.2644, allocations: 8 kB / 0.9903 GB, free: 16.29 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.0003029/0.2647, allocations: 336.2 kB / 0.9906 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.2648, allocations: 63.2 kB / 0.9907 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/0.2651, allocations: 293.1 kB / 0.991 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2651, allocations: 4 kB / 0.991 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2651, allocations: 0 / 0.991 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2651, allocations: 0 / 0.991 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.2654, allocations: 369.6 kB / 0.9913 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2654, allocations: 0 / 0.9913 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.2655, allocations: 7.984 kB / 0.9913 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2655, allocations: 11.95 kB / 0.9914 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2655, allocations: 4 kB / 0.9914 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2655, allocations: 0 / 0.9914 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2655, allocations: 4 kB / 0.9914 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.2658, allocations: 317.7 kB / 0.9917 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.266, allocations: 140.3 kB / 0.9918 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.266, allocations: 11.94 kB / 0.9918 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2661, allocations: 12 kB / 0.9918 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.2662, allocations: 4 kB / 0.9918 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.2662, allocations: 11.92 kB / 0.9918 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005198/0.2667, allocations: 0.5614 MB / 0.9924 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2667, allocations: 0 / 0.9924 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004242/0.2672, allocations: 116 kB / 0.9925 GB, free: 13.94 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.0008218/0.268, allocations: 0.9335 MB / 0.9934 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.2682, allocations: 199.3 kB / 0.9936 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2683, allocations: 0 / 0.9936 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.2684, allocations: 143.4 kB / 0.9937 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.2689, allocations: 107.6 kB / 0.9938 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.2726, allocations: 3.469 MB / 0.9972 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.2729, allocations: 0.9621 MB / 0.9982 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.728e-05/0.273, allocations: 21.55 kB / 0.9982 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.2732, allocations: 147.4 kB / 0.9983 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.2732, allocations: 0 / 0.9983 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.2967, allocations: 10.68 MB / 1.009 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.297, allocations: 212.8 kB / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.595, allocations: 0 / 1.009 GB, free: 13.18 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)