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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001271/0.001271, allocations: 192.9 kB / 16.14 MB, free: 6.703 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.511/1.511, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 251.6 MB / 0.5088 GB, free: 3.355 MB / 414.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.001252/0.001252, allocations: 67.91 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4779, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004305/0.4823, allocations: 2.163 MB / 0.7259 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003826/0.4861, allocations: 2.442 MB / 0.7283 GB, free: 8.531 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.4864, allocations: 3.938 kB / 0.7283 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.4882, allocations: 0.5 MB / 0.7288 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.4886, allocations: 99.56 kB / 0.7289 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.4893, allocations: 190.3 kB / 0.7291 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005461/0.4899, allocations: 341.7 kB / 0.7294 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.49, allocations: 60.73 kB / 0.7295 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.4903, allocations: 111.4 kB / 0.7296 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.4906, allocations: 147.2 kB / 0.7297 GB, free: 7.098 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.4906, allocations: 4 kB / 0.7297 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.4909, allocations: 55.97 kB / 0.7298 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.4912, allocations: 131.5 kB / 0.7299 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.4915, allocations: 214.4 kB / 0.7301 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000892/0.4924, allocations: 0.6617 MB / 0.7308 GB, free: 6.035 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.4925, allocations: 0 / 0.7308 GB, free: 6.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4925, allocations: 4 kB / 0.7308 GB, free: 6.031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.4925, allocations: 0 / 0.7308 GB, free: 6.031 MB / 0.545 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.001503/0.494, allocations: 0.8642 MB / 0.7316 GB, free: 5.109 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.494, allocations: 8.031 kB / 0.7316 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.4942, allocations: 68.09 kB / 0.7317 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/0.4948, allocations: 432.1 kB / 0.7321 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4948, allocations: 4.375 kB / 0.7321 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.4948, allocations: 8.125 kB / 0.7321 GB, free: 4.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.4952, allocations: 100.2 kB / 0.7322 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4952, allocations: 0 / 0.7322 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.4953, allocations: 3.984 kB / 0.7322 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.4953, allocations: 0 / 0.7322 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.4954, allocations: 43.92 kB / 0.7322 GB, free: 4.402 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.4965, allocations: 0.5239 MB / 0.7327 GB, free: 3.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/0.497, allocations: 106.7 kB / 0.7328 GB, free: 3.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.573e-05/0.4971, allocations: 28.84 kB / 0.7329 GB, free: 3.684 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.4972, allocations: 4 kB / 0.7329 GB, free: 3.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.4974, allocations: 87.38 kB / 0.733 GB, free: 3.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.4974, allocations: 4 kB / 0.733 GB, free: 3.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004393/0.4978, allocations: 192.7 kB / 0.7332 GB, free: 3.383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002642/0.4981, allocations: 106.8 kB / 0.7333 GB, free: 3.254 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.4993, allocations: 0.8834 MB / 0.7341 GB, free: 2.359 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.4994, allocations: 29.7 kB / 0.7341 GB, free: 2.324 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.4996, allocations: 304 kB / 0.7344 GB, free: 2.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.4997, allocations: 19.78 kB / 0.7345 GB, free: 2.004 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.4997, allocations: 25.72 kB / 0.7345 GB, free: 1.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4998, allocations: 313.9 kB / 0.7348 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-05/0.4999, allocations: 27.98 kB / 0.7348 GB, free: 1.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.5, allocations: 72.27 kB / 0.7349 GB, free: 1.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.5002, allocations: 73.95 kB / 0.7349 GB, free: 1.469 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5002, allocations: 4 kB / 0.7349 GB, free: 1.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002755/0.5005, allocations: 168.8 kB / 0.7351 GB, free: 1.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5005, allocations: 8 kB / 0.7351 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.5005, allocations: 0 / 0.7351 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5005, allocations: 0 / 0.7351 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.5006, allocations: 15.98 kB / 0.7351 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.5006, allocations: 0 / 0.7351 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.5008, allocations: 19.89 kB / 0.7352 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.5008, allocations: 4 kB / 0.7352 GB, free: 1.246 MB / 0.545 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 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003388/0.5012, allocations: 309.7 kB / 0.7354 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/0.5012, allocations: 71.09 kB / 0.7355 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.5015, allocations: 73.98 kB / 0.7356 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5015, allocations: 0 / 0.7356 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5015, allocations: 4 kB / 0.7356 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.5015, allocations: 3.938 kB / 0.7356 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.5021, allocations: 381.4 kB / 0.736 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5021, allocations: 4 kB / 0.736 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.5021, allocations: 11.92 kB / 0.736 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5022, allocations: 0 / 0.736 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.5022, allocations: 8.188 kB / 0.736 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5022, allocations: 0 / 0.736 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5022, allocations: 3.938 kB / 0.736 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.5026, allocations: 192.2 kB / 0.7362 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.5028, allocations: 132.5 kB / 0.7363 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.5029, allocations: 8 kB / 0.7363 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.503, allocations: 8 kB / 0.7363 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.5031, allocations: 11.98 kB / 0.7363 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.5031, allocations: 3.938 kB / 0.7363 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00102/0.5041, allocations: 0.659 MB / 0.737 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5042, allocations: 0 / 0.737 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003443/0.5045, allocations: 60 kB / 0.737 GB, free: 15.23 MB / 0.5606 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,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001241/0.5058, allocations: 429.5 kB / 0.7374 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.506, allocations: 71.97 kB / 0.7375 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.506, allocations: 0 / 0.7375 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.5062, allocations: 39.91 kB / 0.7375 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.5069, allocations: 134.9 kB / 0.7377 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.5086, allocations: 1.211 MB / 0.7389 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.5092, allocations: 0.9784 MB / 0.7398 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.5094, allocations: 38.59 kB / 0.7398 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.5096, allocations: 27.44 kB / 0.7399 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5096, allocations: 0 / 0.7399 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.0117/0.5213, allocations: 5.477 MB / 0.7452 GB, free: 7.062 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)