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.007694/0.007693, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001369/0.001369, allocations: 193.7 kB / 16.68 MB, free: 5.93 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.281 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.565/1.565, allocations: 251.7 MB / 0.5094 GB, free: 3.102 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.001776/0.001776, allocations: 77.78 kB / 0.7258 GB, free: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3003, allocations: 104.7 MB / 0.8281 GB, free: 252 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.005748/0.3061, allocations: 1.997 MB / 0.83 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005279/0.3115, allocations: 2.551 MB / 0.8325 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.3117, allocations: 4 kB / 0.8325 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.3139, allocations: 477.9 kB / 0.833 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.3142, allocations: 63.66 kB / 0.833 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.3158, allocations: 279.3 kB / 0.8333 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000768/0.3165, allocations: 309.3 kB / 0.8336 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.3168, allocations: 96.64 kB / 0.8337 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.3171, allocations: 99.53 kB / 0.8338 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.3175, allocations: 127.3 kB / 0.8339 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.3176, allocations: 8 kB / 0.8339 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008976/0.3185, allocations: 323.5 kB / 0.8342 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.3187, allocations: 95.55 kB / 0.8343 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.319, allocations: 202.6 kB / 0.8345 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.3203, allocations: 0.7866 MB / 0.8353 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3204, allocations: 0 / 0.8353 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3204, allocations: 0 / 0.8353 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.3204, allocations: 0 / 0.8353 GB, free: 8.836 MB / 0.6544 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.001629/0.322, allocations: 0.8334 MB / 0.8361 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.3221, allocations: 11.97 kB / 0.8361 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.3222, allocations: 64.19 kB / 0.8362 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006693/0.3229, allocations: 364.5 kB / 0.8365 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.3229, allocations: 4.375 kB / 0.8365 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.323, allocations: 8.375 kB / 0.8365 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.3234, allocations: 125.9 kB / 0.8367 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3234, allocations: 0 / 0.8367 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.3234, allocations: 8 kB / 0.8367 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3234, allocations: 4 kB / 0.8367 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.3237, allocations: 103.8 kB / 0.8368 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.3248, allocations: 0.5315 MB / 0.8373 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.3251, allocations: 102.6 kB / 0.8374 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.3253, allocations: 60.92 kB / 0.8374 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.415e-05/0.3254, allocations: 16.17 kB / 0.8375 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.3256, allocations: 133 kB / 0.8376 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/0.3256, allocations: 3.938 kB / 0.8376 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.000763/0.3264, allocations: 314.4 kB / 0.8379 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.3265, allocations: 85.11 kB / 0.838 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.3281, allocations: 0.7581 MB / 0.8387 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3281, allocations: 29.7 kB / 0.8387 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.3286, allocations: 280.2 kB / 0.839 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.3286, allocations: 27.61 kB / 0.839 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.3287, allocations: 21.72 kB / 0.839 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3289, allocations: 314 kB / 0.8393 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3291, allocations: 47.98 kB / 0.8394 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3292, allocations: 47.97 kB / 0.8394 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.3295, allocations: 160.2 kB / 0.8396 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3295, allocations: 3.938 kB / 0.8396 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005569/0.33, allocations: 263 kB / 0.8398 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/0.3301, allocations: 37.7 kB / 0.8399 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3301, allocations: 0 / 0.8399 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.3302, allocations: 0 / 0.8399 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3303, allocations: 15.98 kB / 0.8399 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3303, allocations: 0 / 0.8399 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.3306, allocations: 7.938 kB / 0.8399 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.3306, allocations: 4 kB / 0.8399 GB, free: 3.82 MB / 0.6544 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.0005603/0.3312, allocations: 339.3 kB / 0.8402 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.3314, allocations: 63.19 kB / 0.8403 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/0.332, allocations: 300.5 kB / 0.8406 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.3321, allocations: 128 / 0.8406 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.3321, allocations: 8 kB / 0.8406 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.3321, allocations: 0 / 0.8406 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.3327, allocations: 373.4 kB / 0.8409 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3328, allocations: 3.938 kB / 0.8409 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.3328, allocations: 4 kB / 0.8409 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.3329, allocations: 0 / 0.8409 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.3329, allocations: 4 kB / 0.841 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3329, allocations: 0 / 0.841 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3329, allocations: 7.938 kB / 0.841 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/0.3335, allocations: 302 kB / 0.8412 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.3338, allocations: 148.2 kB / 0.8414 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/0.3339, allocations: 15.88 kB / 0.8414 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.3341, allocations: 4 kB / 0.8414 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.3341, allocations: 7.984 kB / 0.8414 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3342, allocations: 4 kB / 0.8414 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001102/0.3353, allocations: 0.5692 MB / 0.842 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3353, allocations: 0 / 0.842 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008113/0.3361, allocations: 123.9 kB / 0.8421 GB, free: 1.457 MB / 0.6544 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.0008209/0.337, allocations: 183.2 kB / 0.8423 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.3375, allocations: 207.3 kB / 0.8425 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3375, allocations: 0 / 0.8425 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.3378, allocations: 151.3 kB / 0.8426 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007878/0.3386, allocations: 105.4 kB / 0.8427 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.3412, allocations: 1.029 MB / 0.8437 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009409/0.3421, allocations: 0.9698 MB / 0.8447 GB, free: 14.74 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000138/0.3423, allocations: 17.55 kB / 0.8447 GB, free: 14.72 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.3424, allocations: 15.44 kB / 0.8447 GB, free: 14.7 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.3424, allocations: 0 / 0.8447 GB, free: 14.7 MB / 0.67 GB Notification: Performance of Templates: time 0.01806/0.3604, allocations: 5.177 MB / 0.8497 GB, free: 9.625 MB / 0.67 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)