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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.691/2.691, allocations: 287.5 MB / 302.4 MB, free: 8.172 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.001288/0.001288, allocations: 186.4 kB / 371 MB, free: 10.87 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.114/2.114, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001281/0.001281, allocations: 88.91 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005005, allocations: 17.27 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2123, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002492/0.2148, allocations: 1.655 MB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.2185, allocations: 2.316 MB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2187, allocations: 7.938 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.2203, allocations: 458.4 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.2205, allocations: 55.72 kB / 0.9829 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009753/0.2215, allocations: 206.8 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004414/0.222, allocations: 274.6 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.2222, allocations: 88.7 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.2223, allocations: 103.5 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.2225, allocations: 115.4 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.2225, allocations: 7.938 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006354/0.2232, allocations: 279.6 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2233, allocations: 95.61 kB / 0.984 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.536e-05/0.2234, allocations: 117.4 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007075/0.2241, allocations: 0.5923 MB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2242, allocations: 0 / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2242, allocations: 0 / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2242, allocations: 4 kB / 0.9847 GB, free: 21.88 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.001063/0.2253, allocations: 0.7791 MB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.2253, allocations: 12.03 kB / 0.9854 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.2254, allocations: 38.56 kB / 0.9855 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/0.2255, allocations: 63.2 kB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.2259, allocations: 331.8 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.226, allocations: 8 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.226, allocations: 8 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.2263, allocations: 134.1 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2263, allocations: 0 / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.2263, allocations: 0 / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2264, allocations: 4 kB / 0.986 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2266, allocations: 100.1 kB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008896/0.2275, allocations: 0.5397 MB / 0.9866 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.2277, allocations: 106.5 kB / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.2278, allocations: 60.97 kB / 0.9868 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.2279, allocations: 15.92 kB / 0.9868 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.2281, allocations: 129.1 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.355e-06/0.2282, allocations: 0 / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0006048/0.2288, allocations: 306.5 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.2288, allocations: 85.11 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.23, allocations: 0.7542 MB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.23, allocations: 25.7 kB / 0.9881 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.2303, allocations: 276.2 kB / 0.9883 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.2304, allocations: 23.66 kB / 0.9883 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.2304, allocations: 8 kB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.2304, allocations: 310 kB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2306, allocations: 51.86 kB / 0.9887 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.729e-05/0.2307, allocations: 51.97 kB / 0.9887 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.2308, allocations: 73.64 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.2308, allocations: 0 / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004224/0.2313, allocations: 262.5 kB / 0.9891 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.2313, allocations: 37.69 kB / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2313, allocations: 0 / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2314, allocations: 0 / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.2315, allocations: 8 kB / 0.9891 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2315, allocations: 0 / 0.9891 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.2317, allocations: 27.83 kB / 0.9891 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.2318, allocations: 4 kB / 0.9891 GB, free: 17.03 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.0004057/0.2322, allocations: 337.5 kB / 0.9895 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.2322, allocations: 59.25 kB / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.2328, allocations: 296.6 kB / 0.9898 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2328, allocations: 4 kB / 0.9898 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2328, allocations: 0 / 0.9898 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2328, allocations: 0 / 0.9898 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.2333, allocations: 361.5 kB / 0.9901 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2333, allocations: 7.953 kB / 0.9902 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.2334, allocations: 7.984 kB / 0.9902 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.2334, allocations: 4 kB / 0.9902 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.2334, allocations: 4 kB / 0.9902 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2334, allocations: 4.125 kB / 0.9902 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2334, allocations: 4 kB / 0.9902 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.2339, allocations: 314.2 kB / 0.9905 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.2341, allocations: 144.2 kB / 0.9906 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.668e-05/0.2342, allocations: 8 kB / 0.9906 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.2344, allocations: 15.98 kB / 0.9906 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.2344, allocations: 0 / 0.9906 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.2345, allocations: 7.984 kB / 0.9906 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008665/0.2354, allocations: 0.5614 MB / 0.9912 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2354, allocations: 0 / 0.9912 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005148/0.2359, allocations: 116 kB / 0.9913 GB, free: 14.68 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.001058/0.237, allocations: 0.9373 MB / 0.9922 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003755/0.2374, allocations: 207.3 kB / 0.9924 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2374, allocations: 0 / 0.9924 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.2376, allocations: 139.4 kB / 0.9925 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/0.2384, allocations: 102.9 kB / 0.9926 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005812/0.2442, allocations: 3.464 MB / 0.996 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.2448, allocations: 0.9621 MB / 0.997 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.245, allocations: 21.53 kB / 0.997 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.2452, allocations: 155.3 kB / 0.9971 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of SimCode: time 9.598e-06/0.2452, allocations: 4 kB / 0.9971 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/0.2854, allocations: 10.66 MB / 1.008 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002763/0.2857, allocations: 214.9 kB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/3.249, allocations: 0 / 1.008 GB, free: 13.88 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)