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.65/2.65, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001446/0.001446, allocations: 176.9 kB / 360.6 MB, free: 7.316 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.073/2.073, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 95.2 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.763e-05, allocations: 8 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8473/0.8474, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2592/1.107, allocations: 144.1 MB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004684/1.107, allocations: 96.53 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07616/1.183, allocations: 12.76 MB / 1.117 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.104e-06/1.183, allocations: 4 kB / 1.117 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.524e-05/1.184, allocations: 8 kB / 1.117 GB, free: 15.55 MB / 0.7292 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.001708/1.185, allocations: 0.7072 MB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/1.185, allocations: 8.031 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/1.186, allocations: 64.45 kB / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/1.187, allocations: 343.7 kB / 1.118 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/1.187, allocations: 4 kB / 1.118 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/1.187, allocations: 11.98 kB / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004039/1.187, allocations: 98.31 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/1.188, allocations: 128.5 kB / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.188, allocations: 0 / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/1.188, allocations: 0 / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/1.188, allocations: 4 kB / 1.118 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/1.189, allocations: 0.5088 MB / 1.119 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/1.19, allocations: 106.5 kB / 1.119 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/1.19, allocations: 68.97 kB / 1.119 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.234e-05/1.19, allocations: 4 kB / 1.119 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/1.19, allocations: 137 kB / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 4.629e-06/1.19, allocations: 0 / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001099/1.192, allocations: 245 kB / 1.119 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/1.192, allocations: 85.09 kB / 1.119 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/1.193, allocations: 0.6049 MB / 1.12 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/1.194, allocations: 25.7 kB / 1.12 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005237/1.194, allocations: 283.9 kB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/1.194, allocations: 27.64 kB / 1.12 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/1.194, allocations: 0 / 1.12 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003009/1.195, allocations: 374.8 kB / 1.12 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/1.195, allocations: 47.97 kB / 1.12 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/1.195, allocations: 55.97 kB / 1.121 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/1.195, allocations: 47.97 kB / 1.121 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.195, allocations: 0 / 1.121 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009446/1.196, allocations: 248.5 kB / 1.121 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.697e-05/1.196, allocations: 37.69 kB / 1.121 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.196, allocations: 5.719 kB / 1.121 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.196, allocations: 3.953 kB / 1.121 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/1.197, allocations: 12 kB / 1.121 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/1.197, allocations: 3.938 kB / 1.121 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/1.197, allocations: 19.83 kB / 1.121 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/1.197, allocations: 4 kB / 1.121 GB, free: 11.06 MB / 0.7292 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,booleanToInteger.u,booleanToInteger.y) * Number of discrete 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.0001961/1.197, allocations: 147.5 kB / 1.121 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009829/1.198, allocations: 257 kB / 1.121 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/1.198, allocations: 63.2 kB / 1.121 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/1.2, allocations: 282.8 kB / 1.122 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.2, allocations: 4 kB / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.2, allocations: 1 kB / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/1.2, allocations: 0 / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008784/1.201, allocations: 345.9 kB / 1.122 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.201, allocations: 1.688 kB / 1.122 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/1.201, allocations: 8 kB / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/1.201, allocations: 0 / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/1.201, allocations: 6.062 kB / 1.122 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/1.201, allocations: 3.953 kB / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/1.201, allocations: 0 / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/1.202, allocations: 296.3 kB / 1.122 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/1.202, allocations: 144.3 kB / 1.122 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/1.203, allocations: 7.922 kB / 1.122 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/1.203, allocations: 8 kB / 1.122 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/1.203, allocations: 11.92 kB / 1.122 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/1.203, allocations: 12 kB / 1.122 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001434/1.204, allocations: 0.4951 MB / 1.123 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.51e-07/1.205, allocations: 4 kB / 1.123 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001114/1.206, allocations: 139.9 kB / 1.123 GB, free: 8.762 MB / 0.7292 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,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * 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.002515/1.208, allocations: 1.062 MB / 1.124 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005803/1.209, allocations: 191.4 kB / 1.124 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.209, allocations: 0 / 1.124 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002911/1.209, allocations: 139.4 kB / 1.124 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/1.21, allocations: 104 kB / 1.124 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/1.214, allocations: 0.9973 MB / 1.125 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/1.215, allocations: 0.9738 MB / 1.126 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002011/1.215, allocations: 17.34 kB / 1.126 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/1.216, allocations: 155.4 kB / 1.127 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of SimCode: time 1.352e-06/1.216, allocations: 3.375 kB / 1.127 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05888/1.275, allocations: 10.67 MB / 1.137 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003192/1.275, allocations: 164.9 kB / 1.137 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.692/3.967, allocations: 2.469 kB / 1.137 GB, free: 10.44 MB / 0.7448 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)