Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 249.3 MB / 261.8 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 95.31 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.948e-05/3.952e-05, allocations: 4 kB / 0.7881 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2437, allocations: 106.3 MB / 0.8919 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8483/1.092, allocations: 138.6 MB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.092, allocations: 93.31 kB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03377/1.126, allocations: 12.92 MB / 1.04 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.843e-06/1.126, allocations: 0 / 1.04 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.229e-05/1.126, allocations: 4 kB / 1.04 GB, free: 0.918 MB / 0.6511 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.0009645/1.127, allocations: 0.7121 MB / 1.041 GB, free: 188 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/1.127, allocations: 12.03 kB / 1.041 GB, free: 176 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/1.127, allocations: 46.44 kB / 1.041 GB, free: 124 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.046e-05/1.127, allocations: 59.25 kB / 1.041 GB, free: 64 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/1.128, allocations: 339.3 kB / 1.041 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/1.128, allocations: 7.75 kB / 1.041 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/1.128, allocations: 8 kB / 1.041 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/1.128, allocations: 139 kB / 1.041 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.128, allocations: 0 / 1.041 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/1.128, allocations: 3.562 kB / 1.041 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.128, allocations: 4 kB / 1.041 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/1.129, allocations: 101.6 kB / 1.041 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008416/1.129, allocations: 0.5505 MB / 1.042 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/1.13, allocations: 116.7 kB / 1.042 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/1.13, allocations: 76.98 kB / 1.042 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/1.13, allocations: 7.938 kB / 1.042 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/1.13, allocations: 135.5 kB / 1.042 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/1.13, allocations: 0 / 1.042 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.0004676/1.13, allocations: 276.5 kB / 1.042 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/1.131, allocations: 77.11 kB / 1.043 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/1.131, allocations: 0.6777 MB / 1.043 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.131, allocations: 25.7 kB / 1.043 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/1.132, allocations: 282.8 kB / 1.044 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/1.132, allocations: 30.69 kB / 1.044 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/1.132, allocations: 0 / 1.044 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.132, allocations: 310 kB / 1.044 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/1.132, allocations: 58.09 kB / 1.044 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/1.132, allocations: 51.72 kB / 1.044 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.862e-05/1.132, allocations: 83.84 kB / 1.044 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.132, allocations: 4 kB / 1.044 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003605/1.132, allocations: 282.8 kB / 1.044 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/1.132, allocations: 36.89 kB / 1.044 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.132, allocations: 0 / 1.044 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/1.132, allocations: 0 / 1.044 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/1.133, allocations: 11.98 kB / 1.044 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/1.133, allocations: 3.938 kB / 1.044 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/1.133, allocations: 11.94 kB / 1.044 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/1.133, allocations: 4 kB / 1.044 GB, free: 12.8 MB / 0.6667 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.0001034/1.133, allocations: 150.5 kB / 1.044 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/1.133, allocations: 67.2 kB / 1.045 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/1.133, allocations: 314 kB / 1.045 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/1.133, allocations: 4 kB / 1.045 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.133, allocations: 0 / 1.045 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.133, allocations: 0 / 1.045 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/1.134, allocations: 373 kB / 1.045 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.134, allocations: 3.984 kB / 1.045 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/1.134, allocations: 7.938 kB / 1.045 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.134, allocations: 8 kB / 1.045 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/1.134, allocations: 3.953 kB / 1.045 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.134, allocations: 4 kB / 1.045 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.134, allocations: 0 / 1.045 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/1.134, allocations: 333.2 kB / 1.046 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/1.135, allocations: 143.6 kB / 1.046 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/1.135, allocations: 6.938 kB / 1.046 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/1.135, allocations: 19.94 kB / 1.046 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/1.135, allocations: 6.875 kB / 1.046 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/1.135, allocations: 7.984 kB / 1.046 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000644/1.135, allocations: 0.5514 MB / 1.046 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/1.135, allocations: 0 / 1.046 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005994/1.136, allocations: 150.5 kB / 1.046 GB, free: 10.87 MB / 0.6667 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.001229/1.137, allocations: 1.101 MB / 1.048 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002652/1.138, allocations: 198.3 kB / 1.048 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.138, allocations: 0 / 1.048 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/1.138, allocations: 147.7 kB / 1.048 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/1.138, allocations: 94.84 kB / 1.048 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/1.14, allocations: 1.017 MB / 1.049 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/1.14, allocations: 0.976 MB / 1.05 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 7.582e-05/1.14, allocations: 13.56 kB / 1.05 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/1.141, allocations: 157.2 kB / 1.05 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of SimCode: time 2.515e-06/1.141, allocations: 0 / 1.05 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/1.169, allocations: 12.61 MB / 1.062 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/1.169, allocations: 190.6 kB / 1.063 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.613, allocations: 0 / 1.063 GB, free: 10.85 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)