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.001402/0.001402, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00162/0.00162, allocations: 193.4 kB / 16.13 MB, free: 6.66 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.332/1.332, allocations: 205.1 MB / 222 MB, free: 4.754 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.705/1.705, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001459/0.00146, allocations: 73.16 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2268, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003659/0.2305, allocations: 2.052 MB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.2336, allocations: 2.56 MB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.2337, allocations: 3.938 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.2347, allocations: 474.3 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.213e-05/0.2348, allocations: 63.73 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006002/0.2354, allocations: 207.6 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.2357, allocations: 293.6 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.2359, allocations: 92.64 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.811e-05/0.236, allocations: 95.53 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.2362, allocations: 127.3 kB / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.2362, allocations: 7.938 kB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.2367, allocations: 307.5 kB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2368, allocations: 103.6 kB / 0.789 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.2369, allocations: 198.5 kB / 0.7892 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.2376, allocations: 0.7709 MB / 0.7899 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2376, allocations: 0 / 0.7899 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2377, allocations: 0 / 0.7899 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2377, allocations: 0 / 0.7899 GB, free: 6.582 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.0009132/0.2386, allocations: 0.8256 MB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2386, allocations: 12.03 kB / 0.7908 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.2387, allocations: 42.73 kB / 0.7908 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/0.2388, allocations: 68.19 kB / 0.7909 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.2391, allocations: 364.3 kB / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2391, allocations: 8.375 kB / 0.7912 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.2392, allocations: 7.938 kB / 0.7912 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.2394, allocations: 125.6 kB / 0.7914 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2394, allocations: 3.984 kB / 0.7914 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2394, allocations: 4 kB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2394, allocations: 4 kB / 0.7914 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.2396, allocations: 96.88 kB / 0.7915 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.2403, allocations: 0.5394 MB / 0.792 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.2405, allocations: 110.4 kB / 0.7921 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/0.2406, allocations: 64.97 kB / 0.7922 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.2406, allocations: 7.984 kB / 0.7922 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.2408, allocations: 133.1 kB / 0.7923 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.2408, allocations: 0 / 0.7923 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004447/0.2413, allocations: 314.4 kB / 0.7926 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.2414, allocations: 81.11 kB / 0.7927 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/0.2422, allocations: 0.7658 MB / 0.7934 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.2422, allocations: 25.7 kB / 0.7934 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.2424, allocations: 272.3 kB / 0.7937 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.2425, allocations: 27.64 kB / 0.7937 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.2425, allocations: 29.72 kB / 0.7938 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.2426, allocations: 314 kB / 0.794 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.442e-05/0.2427, allocations: 47.97 kB / 0.7941 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.2428, allocations: 43.97 kB / 0.7941 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.2429, allocations: 164.2 kB / 0.7943 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2429, allocations: 0 / 0.7943 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002963/0.2432, allocations: 262.5 kB / 0.7945 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.2433, allocations: 37.7 kB / 0.7946 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2433, allocations: 4 kB / 0.7946 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2433, allocations: 0 / 0.7946 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/0.2434, allocations: 11.98 kB / 0.7946 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2434, allocations: 0 / 0.7946 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.2435, allocations: 15.84 kB / 0.7946 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.2436, allocations: 4 kB / 0.7946 GB, free: 1.516 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 (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.0003019/0.2439, allocations: 336 kB / 0.7949 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.157e-05/0.2439, allocations: 59.25 kB / 0.795 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.2443, allocations: 296.6 kB / 0.7953 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2443, allocations: 4 kB / 0.7953 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2444, allocations: 0 / 0.7953 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2444, allocations: 0 / 0.7953 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.2447, allocations: 377.3 kB / 0.7956 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2447, allocations: 0 / 0.7956 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.2447, allocations: 8.125 kB / 0.7956 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2448, allocations: 4 kB / 0.7956 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2448, allocations: 0 / 0.7956 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2448, allocations: 4 kB / 0.7957 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2448, allocations: 0 / 0.7957 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.2451, allocations: 314.3 kB / 0.796 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.2453, allocations: 144.3 kB / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.2454, allocations: 0 / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.2455, allocations: 4 kB / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.2455, allocations: 15.91 kB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.2455, allocations: 11.94 kB / 0.7961 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006267/0.2462, allocations: 0.5614 MB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2462, allocations: 4 kB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004126/0.2466, allocations: 123.9 kB / 0.7968 GB, free: 15.16 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.0009314/0.2475, allocations: 0.9374 MB / 0.7977 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002658/0.2478, allocations: 203.3 kB / 0.7979 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2478, allocations: 0 / 0.7979 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.248, allocations: 155.3 kB / 0.798 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.2485, allocations: 100.8 kB / 0.7981 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004967/0.2535, allocations: 4.702 MB / 0.8027 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.254, allocations: 0.966 MB / 0.8037 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.769e-05/0.254, allocations: 21.55 kB / 0.8037 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.2542, allocations: 143.4 kB / 0.8038 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.2542, allocations: 0 / 0.8038 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.2771, allocations: 10.88 MB / 0.8145 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.2774, allocations: 236.2 kB / 0.8147 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.187, allocations: 0 / 0.8147 GB, free: 12.87 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)