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/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.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001645/0.001645, allocations: 196.2 kB / 16.26 MB, free: 6.621 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.529/1.529, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.596/1.596, allocations: 251.7 MB / 0.5089 GB, free: 3.281 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.001266/0.001266, allocations: 67.91 kB / 0.6218 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4839, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.00383/0.4878, allocations: 2.059 MB / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003393/0.4912, allocations: 2.524 MB / 0.7285 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.4914, allocations: 3.938 kB / 0.7285 GB, free: 8.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.4927, allocations: 480 kB / 0.7289 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.4929, allocations: 51.73 kB / 0.729 GB, free: 7.953 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009234/0.4938, allocations: 239.6 kB / 0.7292 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000492/0.4943, allocations: 355.2 kB / 0.7296 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.4945, allocations: 84.72 kB / 0.7296 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.4946, allocations: 99.52 kB / 0.7297 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.4948, allocations: 131.3 kB / 0.7299 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.4949, allocations: 12 kB / 0.7299 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.4953, allocations: 319.5 kB / 0.7302 GB, free: 6.734 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.4954, allocations: 103.5 kB / 0.7303 GB, free: 6.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.4956, allocations: 198.6 kB / 0.7305 GB, free: 6.438 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007231/0.4963, allocations: 0.7749 MB / 0.7312 GB, free: 5.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4964, allocations: 0 / 0.7312 GB, free: 5.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.817e-06/0.4964, allocations: 0 / 0.7312 GB, free: 5.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.4964, allocations: 7.938 kB / 0.7312 GB, free: 5.652 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009934/0.4974, allocations: 0.8333 MB / 0.732 GB, free: 4.762 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4974, allocations: 12.03 kB / 0.732 GB, free: 4.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.4975, allocations: 64.19 kB / 0.7321 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.4979, allocations: 360.5 kB / 0.7325 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.4979, allocations: 4.375 kB / 0.7325 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.498, allocations: 8.375 kB / 0.7325 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.4982, allocations: 132.3 kB / 0.7326 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.4982, allocations: 0 / 0.7326 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4982, allocations: 4 kB / 0.7326 GB, free: 4.148 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4982, allocations: 0 / 0.7326 GB, free: 4.148 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.4984, allocations: 103.8 kB / 0.7327 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007287/0.4991, allocations: 0.5393 MB / 0.7332 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.4993, allocations: 110.5 kB / 0.7333 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.4994, allocations: 60.97 kB / 0.7334 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.4994, allocations: 8.172 kB / 0.7334 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.4996, allocations: 137 kB / 0.7335 GB, free: 3.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.4997, allocations: 0 / 0.7335 GB, free: 3.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004546/0.5001, allocations: 310.5 kB / 0.7338 GB, free: 2.801 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.5002, allocations: 85.05 kB / 0.7339 GB, free: 2.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/0.501, allocations: 0.7581 MB / 0.7346 GB, free: 1.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.501, allocations: 33.7 kB / 0.7347 GB, free: 1.891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.5012, allocations: 272.2 kB / 0.7349 GB, free: 1.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.5013, allocations: 35.55 kB / 0.735 GB, free: 1.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.5013, allocations: 21.72 kB / 0.735 GB, free: 1.559 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5014, allocations: 318 kB / 0.7353 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.146e-05/0.5015, allocations: 43.98 kB / 0.7353 GB, free: 1.199 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.578e-05/0.5016, allocations: 51.95 kB / 0.7354 GB, free: 1.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.5017, allocations: 156.2 kB / 0.7355 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5018, allocations: 0 / 0.7355 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002829/0.502, allocations: 262.9 kB / 0.7358 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.5021, allocations: 37.7 kB / 0.7358 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5021, allocations: 4 kB / 0.7358 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5021, allocations: 3.938 kB / 0.7358 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/0.5022, allocations: 11.98 kB / 0.7358 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.5022, allocations: 0 / 0.7358 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.5023, allocations: 4 kB / 0.7358 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.5024, allocations: 4 kB / 0.7358 GB, free: 0.6406 MB / 0.545 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.0002744/0.5026, allocations: 335.4 kB / 0.7362 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.5027, allocations: 63.19 kB / 0.7362 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.5031, allocations: 304.5 kB / 0.7365 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5031, allocations: 0 / 0.7365 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5031, allocations: 4 kB / 0.7365 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5031, allocations: 0 / 0.7365 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.5035, allocations: 369.4 kB / 0.7369 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5035, allocations: 3.938 kB / 0.7369 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.5035, allocations: 4 kB / 0.7369 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5035, allocations: 0 / 0.7369 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5036, allocations: 4.125 kB / 0.7369 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5036, allocations: 4 kB / 0.7369 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.5036, allocations: 0 / 0.7369 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.5039, allocations: 313.9 kB / 0.7372 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.5041, allocations: 148.3 kB / 0.7373 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.5041, allocations: 4 kB / 0.7373 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.76e-05/0.5042, allocations: 4 kB / 0.7373 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.5043, allocations: 11.98 kB / 0.7373 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.5043, allocations: 7.938 kB / 0.7374 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005929/0.5049, allocations: 0.5653 MB / 0.7379 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5049, allocations: 4 kB / 0.7379 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004104/0.5053, allocations: 119.9 kB / 0.738 GB, free: 14.29 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: 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.000391/0.5057, allocations: 191.2 kB / 0.7382 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.506, allocations: 207.2 kB / 0.7384 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.506, allocations: 0 / 0.7384 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.5062, allocations: 151.4 kB / 0.7385 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.5067, allocations: 103.5 kB / 0.7386 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.5081, allocations: 1.147 MB / 0.7398 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.5086, allocations: 0.966 MB / 0.7407 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.545e-05/0.5087, allocations: 21.55 kB / 0.7407 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.5087, allocations: 15.44 kB / 0.7407 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5087, allocations: 0 / 0.7407 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.01007/0.5188, allocations: 5.124 MB / 0.7457 GB, free: 6.383 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)