Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006851/0.006851, allocations: 99.3 kB / 15.73 MB, free: 5.602 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.002749/0.002749, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.637/1.637, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4838/0.4838, allocations: 95.48 MB / 365.4 MB, free: 12.14 MB / 318.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 71.91 kB / 0.5036 GB, free: 11.88 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4152, allocations: 69.09 MB / 0.5711 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002847/0.4181, allocations: 1.543 MB / 0.5726 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.419, allocations: 0.4996 MB / 0.5731 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.4191, allocations: 0 / 0.5731 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.4192, allocations: 19.88 kB / 0.5731 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.4193, allocations: 19.78 kB / 0.5731 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.4196, allocations: 39.89 kB / 0.5731 GB, free: 2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.4198, allocations: 115.7 kB / 0.5732 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.4199, allocations: 24.22 kB / 0.5733 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.42, allocations: 63.77 kB / 0.5733 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.4201, allocations: 51.81 kB / 0.5734 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.4202, allocations: 8 kB / 0.5734 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.358e-05/0.4202, allocations: 8 kB / 0.5734 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.4203, allocations: 15.92 kB / 0.5734 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.913e-05/0.4204, allocations: 55.72 kB / 0.5735 GB, free: 1.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.4205, allocations: 100.7 kB / 0.5736 GB, free: 1.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4205, allocations: 0 / 0.5736 GB, free: 1.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4205, allocations: 0 / 0.5736 GB, free: 1.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.4206, allocations: 0 / 0.5736 GB, free: 1.57 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008121/0.4214, allocations: 481.9 kB / 0.574 GB, free: 1.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4214, allocations: 11.98 kB / 0.574 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.4215, allocations: 12.89 kB / 0.574 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.4217, allocations: 200.2 kB / 0.5742 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.4217, allocations: 8.375 kB / 0.5742 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.4217, allocations: 8.375 kB / 0.5743 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.4221, allocations: 141.8 kB / 0.5744 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4221, allocations: 0 / 0.5744 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.4221, allocations: 4 kB / 0.5744 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4222, allocations: 0 / 0.5744 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.4225, allocations: 123.9 kB / 0.5745 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.4232, allocations: 348.6 kB / 0.5748 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.4236, allocations: 142.4 kB / 0.575 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.4238, allocations: 104.8 kB / 0.5751 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.4238, allocations: 4 kB / 0.5751 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.4242, allocations: 135.3 kB / 0.5752 GB, free: 15.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 3.818e-06/0.4243, allocations: 4 kB / 0.5752 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008094/0.4251, allocations: 331.1 kB / 0.5755 GB, free: 15.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.4251, allocations: 93.09 kB / 0.5756 GB, free: 15.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4253, allocations: 141.6 kB / 0.5758 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.4253, allocations: 33.7 kB / 0.5758 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.4254, allocations: 104.1 kB / 0.5759 GB, free: 14.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.4254, allocations: 31.73 kB / 0.5759 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.4255, allocations: 33.7 kB / 0.5759 GB, free: 14.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4256, allocations: 326.8 kB / 0.5763 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.4258, allocations: 83.88 kB / 0.5763 GB, free: 14.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.4261, allocations: 91.67 kB / 0.5764 GB, free: 14.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.4265, allocations: 261.8 kB / 0.5767 GB, free: 14.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4265, allocations: 0 / 0.5767 GB, free: 14.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005619/0.4271, allocations: 288.9 kB / 0.577 GB, free: 13.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.4272, allocations: 71.39 kB / 0.577 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4272, allocations: 4 kB / 0.577 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4272, allocations: 3.984 kB / 0.577 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.4274, allocations: 15.98 kB / 0.577 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4274, allocations: 0 / 0.577 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.4276, allocations: 31.91 kB / 0.5771 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.4276, allocations: 8 kB / 0.5771 GB, free: 13.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001283/0.4277, allocations: 164.6 kB / 0.5772 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.4278, allocations: 15.95 kB / 0.5773 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.4278, allocations: 12.7 kB / 0.5773 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4278, allocations: 0 / 0.5773 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4278, allocations: 4 kB / 0.5773 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4278, allocations: 3.938 kB / 0.5773 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.428, allocations: 205.5 kB / 0.5775 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.428, allocations: 7.938 kB / 0.5775 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.4281, allocations: 15.92 kB / 0.5775 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4281, allocations: 0 / 0.5775 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.4282, allocations: 7.984 kB / 0.5775 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4282, allocations: 4 kB / 0.5775 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4282, allocations: 0 / 0.5775 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.4287, allocations: 302.5 kB / 0.5778 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.4289, allocations: 81.06 kB / 0.5779 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.4289, allocations: 8 kB / 0.5779 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.4291, allocations: 31.95 kB / 0.5779 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4292, allocations: 27.91 kB / 0.5779 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.4292, allocations: 4 kB / 0.5779 GB, free: 12.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.75e-05/0.4293, allocations: 111.2 kB / 0.578 GB, free: 12.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4293, allocations: 0 / 0.578 GB, free: 12.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.4295, allocations: 27.94 kB / 0.5781 GB, free: 12.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 9.035e-05/0.4296, allocations: 96.31 kB / 0.5782 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000626/0.4302, allocations: 358.6 kB / 0.5785 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4302, allocations: 0 / 0.5785 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.4305, allocations: 187.3 kB / 0.5787 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.4308, allocations: 15.39 kB / 0.5787 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.4314, allocations: 307.9 kB / 0.579 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.4317, allocations: 0.704 MB / 0.5797 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.395e-05/0.4318, allocations: 11.97 kB / 0.5797 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.4318, allocations: 15.44 kB / 0.5797 GB, free: 10.77 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4318, allocations: 4 kB / 0.5797 GB, free: 10.77 MB / 446.1 MB Notification: Performance of Templates: time 0.004402/0.4362, allocations: 1.729 MB / 0.5814 GB, free: 9.051 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)