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.SpeedSelect.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.SpeedSelect,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",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.542/1.542, allocations: 249.3 MB / 261.8 MB, free: 5.973 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.001054/0.001054, allocations: 180.9 kB / 321.3 MB, free: 14.63 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.703/1.703, allocations: 205.1 MB / 0.572 GB, free: 10.59 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.0009302/0.0009301, allocations: 82.55 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.629e-05, allocations: 4 kB / 0.788 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2051, allocations: 106.4 MB / 0.8919 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.752/0.9572, allocations: 139.6 MB / 1.028 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.9576, allocations: 100.2 kB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0317/0.9893, allocations: 12.67 MB / 1.041 GB, free: 360 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9893, allocations: 0 / 1.041 GB, free: 360 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.485e-05/0.9894, allocations: 8 kB / 1.041 GB, free: 352 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008418/0.9902, allocations: 0.7203 MB / 1.041 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.9903, allocations: 12.03 kB / 1.041 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.9903, allocations: 33.56 kB / 1.041 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.9904, allocations: 67.16 kB / 1.042 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007331/0.9912, allocations: 474.3 kB / 1.042 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.9912, allocations: 0 / 1.042 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.9912, allocations: 7.312 kB / 1.042 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.9914, allocations: 102 kB / 1.042 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.9914, allocations: 0 / 1.042 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.9915, allocations: 0 / 1.042 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.9915, allocations: 0 / 1.042 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.411e-05/0.9916, allocations: 41.05 kB / 1.042 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007746/0.9923, allocations: 0.5407 MB / 1.043 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.9927, allocations: 103.5 kB / 1.043 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.9928, allocations: 34.55 kB / 1.043 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.9928, allocations: 0 / 1.043 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.9929, allocations: 89.56 kB / 1.043 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 3.236e-06/0.9929, allocations: 0 / 1.043 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0002983/0.9933, allocations: 161.4 kB / 1.043 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.9933, allocations: 106.8 kB / 1.043 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008931/0.9942, allocations: 0.7873 MB / 1.044 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.9942, allocations: 25.7 kB / 1.044 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.9945, allocations: 297.1 kB / 1.044 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.9945, allocations: 31.3 kB / 1.044 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.9945, allocations: 3.25 kB / 1.044 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.9946, allocations: 306 kB / 1.045 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.9947, allocations: 30.48 kB / 1.045 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.9948, allocations: 82.59 kB / 1.045 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.341e-05/0.9949, allocations: 34.98 kB / 1.045 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9949, allocations: 192 / 1.045 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000233/0.9951, allocations: 169.1 kB / 1.045 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.9951, allocations: 11.92 kB / 1.045 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9952, allocations: 0 / 1.045 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.9952, allocations: 0 / 1.045 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.491e-05/0.9953, allocations: 12 kB / 1.045 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.9953, allocations: 3.953 kB / 1.045 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.9954, allocations: 11.98 kB / 1.045 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.9954, allocations: 0 / 1.045 GB, free: 12.47 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 8.831e-05/0.9955, allocations: 116.5 kB / 1.045 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.9956, allocations: 63.16 kB / 1.045 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.9959, allocations: 184.6 kB / 1.045 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.9959, allocations: 0 / 1.045 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.9959, allocations: 4 kB / 1.045 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9959, allocations: 3.953 kB / 1.045 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.9963, allocations: 395.3 kB / 1.046 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9963, allocations: 0 / 1.046 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/0.9964, allocations: 8 kB / 1.046 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.9964, allocations: 4 kB / 1.046 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.9964, allocations: 7.984 kB / 1.046 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9964, allocations: 0 / 1.046 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9965, allocations: 0 / 1.046 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.9967, allocations: 200 kB / 1.046 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.9969, allocations: 140.2 kB / 1.046 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.9969, allocations: 7.984 kB / 1.046 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.9971, allocations: 11.69 kB / 1.046 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.9971, allocations: 7.984 kB / 1.046 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.9971, allocations: 7.938 kB / 1.046 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007224/0.9979, allocations: 0.6477 MB / 1.047 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9979, allocations: 0 / 1.047 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003826/0.9983, allocations: 86.8 kB / 1.047 GB, free: 10.8 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: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001539/0.9998, allocations: 1.171 MB / 1.048 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002092/1, allocations: 93.5 kB / 1.048 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1, allocations: 8 kB / 1.048 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.44e-05/1, allocations: 38.11 kB / 1.048 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/1.001, allocations: 129.4 kB / 1.048 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/1.002, allocations: 1.055 MB / 1.049 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/1.003, allocations: 0.9968 MB / 1.05 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001487/1.003, allocations: 50.03 kB / 1.05 GB, free: 7.57 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/1.003, allocations: 179.1 kB / 1.05 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of SimCode: time 4.41e-07/1.003, allocations: 0 / 1.05 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/1.031, allocations: 13.73 MB / 1.064 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.031, allocations: 216.1 kB / 1.064 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/3.332, allocations: 4.062 kB / 1.064 GB, free: 9.742 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)