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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009398/0.0009398, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001241/0.001241, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.71/1.71, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0004913/0.0004914, allocations: 15.81 kB / 0.6738 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002488/0.2249, allocations: 1.659 MB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003552/0.2285, allocations: 2.316 MB / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.2288, allocations: 7.938 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.2303, allocations: 454.4 kB / 0.7917 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.2305, allocations: 55.72 kB / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.2314, allocations: 206.9 kB / 0.792 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.2318, allocations: 278.5 kB / 0.7923 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.232, allocations: 84.69 kB / 0.7923 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.2323, allocations: 95.53 kB / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.2325, allocations: 127.4 kB / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.2325, allocations: 4 kB / 0.7926 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005151/0.2331, allocations: 283.6 kB / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2332, allocations: 91.61 kB / 0.7929 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.2333, allocations: 121.4 kB / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006805/0.234, allocations: 0.5962 MB / 0.7936 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.234, allocations: 0 / 0.7936 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.234, allocations: 0 / 0.7936 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.2341, allocations: 3.938 kB / 0.7936 GB, free: 5.434 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.001111/0.2352, allocations: 0.7753 MB / 0.7944 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.2352, allocations: 12.03 kB / 0.7944 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.247e-05/0.2353, allocations: 38.55 kB / 0.7944 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.853e-05/0.2354, allocations: 63.25 kB / 0.7945 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.236, allocations: 335.8 kB / 0.7948 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.236, allocations: 4 kB / 0.7948 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.236, allocations: 11.94 kB / 0.7948 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.2363, allocations: 128.5 kB / 0.7949 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2363, allocations: 7.938 kB / 0.7949 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2363, allocations: 0 / 0.7949 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2364, allocations: 4 kB / 0.7949 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.2365, allocations: 100.1 kB / 0.795 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.2374, allocations: 0.5358 MB / 0.7956 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.2376, allocations: 106.5 kB / 0.7957 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.687e-05/0.2377, allocations: 69 kB / 0.7957 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.2378, allocations: 4 kB / 0.7957 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.238, allocations: 129.1 kB / 0.7959 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.238, allocations: 4 kB / 0.7959 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.000473/0.2385, allocations: 306.4 kB / 0.7962 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.2386, allocations: 81.11 kB / 0.7962 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009292/0.2395, allocations: 0.7581 MB / 0.797 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2395, allocations: 29.7 kB / 0.797 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.2398, allocations: 284.2 kB / 0.7973 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.2398, allocations: 19.66 kB / 0.7973 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-06/0.2398, allocations: 4 kB / 0.7973 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2399, allocations: 314 kB / 0.7976 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.24, allocations: 43.98 kB / 0.7976 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.2401, allocations: 47.97 kB / 0.7977 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.505e-05/0.2402, allocations: 69.69 kB / 0.7977 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2402, allocations: 0 / 0.7977 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003161/0.2405, allocations: 270.5 kB / 0.798 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.2406, allocations: 37.69 kB / 0.798 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2406, allocations: 0 / 0.798 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2406, allocations: 0 / 0.798 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.2407, allocations: 11.94 kB / 0.7981 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2407, allocations: 0 / 0.7981 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.2408, allocations: 23.83 kB / 0.7981 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.2408, allocations: 4 kB / 0.7981 GB, free: 0.5859 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 ($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.0003226/0.2412, allocations: 332 kB / 0.7984 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.2412, allocations: 67.19 kB / 0.7985 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.2417, allocations: 288.7 kB / 0.7987 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2417, allocations: 4.125 kB / 0.7987 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.2417, allocations: 4 kB / 0.7987 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2417, allocations: 0 / 0.7987 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.2421, allocations: 369.4 kB / 0.7991 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2421, allocations: 0 / 0.7991 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.2421, allocations: 11.94 kB / 0.7991 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.2421, allocations: 3.953 kB / 0.7991 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2422, allocations: 11.94 kB / 0.7991 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2422, allocations: 0 / 0.7991 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2422, allocations: 0 / 0.7991 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.2425, allocations: 306.4 kB / 0.7994 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.2428, allocations: 140.3 kB / 0.7995 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.2428, allocations: 11.94 kB / 0.7996 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2429, allocations: 8 kB / 0.7996 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.243, allocations: 11.98 kB / 0.7996 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.243, allocations: 4 kB / 0.7996 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006705/0.2437, allocations: 0.5614 MB / 0.8001 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2437, allocations: 0 / 0.8001 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00042/0.2441, allocations: 124 kB / 0.8003 GB, free: 14.24 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 (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.0009831/0.2451, allocations: 0.9323 MB / 0.8012 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.2454, allocations: 207.3 kB / 0.8014 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2454, allocations: 0 / 0.8014 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.2456, allocations: 139.4 kB / 0.8015 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.2461, allocations: 106.8 kB / 0.8016 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.2507, allocations: 3.467 MB / 0.805 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.2514, allocations: 0.9738 MB / 0.8059 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.814e-05/0.2515, allocations: 17.5 kB / 0.8059 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.2517, allocations: 147.4 kB / 0.8061 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.2517, allocations: 0 / 0.8061 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.2766, allocations: 10.66 MB / 0.8165 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.2768, allocations: 213.1 kB / 0.8167 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.295, allocations: 3.234 kB / 0.8167 GB, free: 13.5 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) Environment - environmentSimulation: