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.001016/0.001016, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008735/0.008736, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.437/1.437, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.708/1.708, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005127/0.0005127, allocations: 19.98 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002122/0.2259, allocations: 1.709 MB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.2289, allocations: 2.513 MB / 0.7921 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.153e-05/0.229, allocations: 4 kB / 0.7921 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.23, allocations: 478.3 kB / 0.7926 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2301, allocations: 55.72 kB / 0.7926 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.2307, allocations: 207.6 kB / 0.7928 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000329/0.2311, allocations: 297.9 kB / 0.7931 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2312, allocations: 92.7 kB / 0.7932 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.601e-05/0.2313, allocations: 83.48 kB / 0.7933 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2315, allocations: 127.3 kB / 0.7934 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.2315, allocations: 4 kB / 0.7934 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.232, allocations: 311.5 kB / 0.7937 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2321, allocations: 91.61 kB / 0.7938 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.2322, allocations: 224.2 kB / 0.794 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006506/0.2329, allocations: 0.7553 MB / 0.7948 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2329, allocations: 0 / 0.7948 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2329, allocations: 0 / 0.7948 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2329, allocations: 4 kB / 0.7948 GB, free: 4.488 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.0008497/0.2338, allocations: 0.7677 MB / 0.7955 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2338, allocations: 8.031 kB / 0.7955 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.2339, allocations: 38.75 kB / 0.7956 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.2339, allocations: 60.19 kB / 0.7956 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2343, allocations: 368.3 kB / 0.796 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.2343, allocations: 8.375 kB / 0.796 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.2343, allocations: 15.94 kB / 0.796 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.2346, allocations: 125.6 kB / 0.7961 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2346, allocations: 0 / 0.7961 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2346, allocations: 7.938 kB / 0.7961 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2346, allocations: 0 / 0.7961 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.2348, allocations: 95.95 kB / 0.7962 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000667/0.2354, allocations: 0.5433 MB / 0.7967 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.2356, allocations: 110.5 kB / 0.7968 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.2357, allocations: 56.98 kB / 0.7969 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.2357, allocations: 7.984 kB / 0.7969 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.2359, allocations: 137.1 kB / 0.797 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.236, allocations: 0 / 0.797 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.000427/0.2364, allocations: 302.5 kB / 0.7973 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.2365, allocations: 89.09 kB / 0.7974 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008044/0.2373, allocations: 0.762 MB / 0.7982 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2373, allocations: 25.7 kB / 0.7982 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.2375, allocations: 276.2 kB / 0.7984 GB, free: 492 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.2375, allocations: 27.59 kB / 0.7985 GB, free: 464 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.2376, allocations: 17.72 kB / 0.7985 GB, free: 440 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2377, allocations: 318 kB / 0.7988 GB, free: 116 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.2378, allocations: 39.98 kB / 0.7988 GB, free: 76 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.2378, allocations: 55.95 kB / 0.7989 GB, free: 20 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.238, allocations: 164.1 kB / 0.799 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.238, allocations: 4 kB / 0.799 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002984/0.2383, allocations: 258.5 kB / 0.7993 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.2384, allocations: 37.7 kB / 0.7993 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2384, allocations: 0 / 0.7993 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2384, allocations: 3.984 kB / 0.7993 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/0.2385, allocations: 11.98 kB / 0.7993 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2385, allocations: 0 / 0.7993 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2386, allocations: 15.84 kB / 0.7994 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.2386, allocations: 4 kB / 0.7994 GB, free: 15.5 MB / 0.6231 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.0003034/0.2389, allocations: 343.2 kB / 0.7997 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.239, allocations: 59.25 kB / 0.7997 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.2394, allocations: 288.6 kB / 0.8 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2394, allocations: 4.125 kB / 0.8 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2394, allocations: 4 kB / 0.8 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2394, allocations: 3.984 kB / 0.8 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.2398, allocations: 373.3 kB / 0.8004 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2398, allocations: 4 kB / 0.8004 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.2398, allocations: 4 kB / 0.8004 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2398, allocations: 4 kB / 0.8004 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.2399, allocations: 3.938 kB / 0.8004 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2399, allocations: 3.984 kB / 0.8004 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2399, allocations: 4 kB / 0.8004 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.2402, allocations: 298.4 kB / 0.8007 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2403, allocations: 144.3 kB / 0.8008 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.2404, allocations: 8 kB / 0.8008 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2405, allocations: 8 kB / 0.8008 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.2406, allocations: 3.984 kB / 0.8008 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.2406, allocations: 12 kB / 0.8009 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005898/0.2412, allocations: 0.5614 MB / 0.8014 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2412, allocations: 0 / 0.8014 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003847/0.2416, allocations: 127.9 kB / 0.8015 GB, free: 13.15 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.0009484/0.2425, allocations: 0.9477 MB / 0.8025 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.2428, allocations: 203.3 kB / 0.8026 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2428, allocations: 0 / 0.8026 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.243, allocations: 155.3 kB / 0.8028 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.2435, allocations: 98.81 kB / 0.8029 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004974/0.2485, allocations: 4.712 MB / 0.8075 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.2491, allocations: 0.9621 MB / 0.8084 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.013e-05/0.2491, allocations: 25.53 kB / 0.8085 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.2493, allocations: 151.4 kB / 0.8086 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.2493, allocations: 0 / 0.8086 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.2705, allocations: 10.74 MB / 0.8191 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.2707, allocations: 228.8 kB / 0.8193 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.091, allocations: 0 / 0.8193 GB, free: 10.99 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/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)