Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001142/0.001142, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.0009958/0.0009958, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.401/1.401, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.41 MB / 462.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.001422/0.001422, allocations: 75.59 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2154, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00327/0.2187, allocations: 1.555 MB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2199, allocations: 0.6164 MB / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.22, allocations: 4 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.2202, allocations: 11.86 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.513e-05/0.2202, allocations: 15.81 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.2207, allocations: 91.77 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.2208, allocations: 103.6 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2209, allocations: 20.22 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.2211, allocations: 51.78 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.2212, allocations: 43.81 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.2212, allocations: 8 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.2214, allocations: 87.91 kB / 0.7873 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.2214, allocations: 15.92 kB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.2215, allocations: 35.8 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.2217, allocations: 155.5 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2217, allocations: 0 / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of FrontEnd: time 7.52e-07/0.2217, allocations: 0 / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2217, allocations: 0 / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.4045/0.6262, allocations: 451.9 kB / 0.7879 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.6263, allocations: 9.375 kB / 0.7879 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.287e-05/0.6264, allocations: 11.31 kB / 0.788 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.6266, allocations: 191.8 kB / 0.7881 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.6266, allocations: 3.453 kB / 0.7881 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.6267, allocations: 4.188 kB / 0.7881 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.627, allocations: 104.2 kB / 0.7882 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.627, allocations: 2.25 kB / 0.7883 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.6271, allocations: 11.91 kB / 0.7883 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.6271, allocations: 3.375 kB / 0.7883 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.6274, allocations: 86.55 kB / 0.7883 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.6281, allocations: 347 kB / 0.7887 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.6284, allocations: 96.06 kB / 0.7888 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.6286, allocations: 61.64 kB / 0.7888 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.6286, allocations: 5.109 kB / 0.7888 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003471/0.629, allocations: 108.4 kB / 0.7889 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.394e-06/0.629, allocations: 3.375 kB / 0.7889 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0006321/0.6296, allocations: 212.3 kB / 0.7891 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.6297, allocations: 57.47 kB / 0.7892 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.6298, allocations: 143.1 kB / 0.7893 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.6298, allocations: 28.17 kB / 0.7894 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.6299, allocations: 98.55 kB / 0.7895 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.6299, allocations: 30.64 kB / 0.7895 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.63, allocations: 25.31 kB / 0.7895 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.554e-05/0.63, allocations: 327.1 kB / 0.7898 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.6302, allocations: 61.2 kB / 0.7899 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.6304, allocations: 55.3 kB / 0.7899 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.6307, allocations: 146.1 kB / 0.7901 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6307, allocations: 0 / 0.7901 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004258/0.6312, allocations: 201.9 kB / 0.7903 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.6312, allocations: 33.64 kB / 0.7903 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6312, allocations: 4.172 kB / 0.7903 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.6313, allocations: 1.5 kB / 0.7903 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.6314, allocations: 15.16 kB / 0.7903 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.6314, allocations: 7.172 kB / 0.7903 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.6316, allocations: 20.5 kB / 0.7903 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.6316, allocations: 6.406 kB / 0.7903 GB, free: 47.57 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: 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: 1 * 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 8.483e-05/0.6317, allocations: 126.4 kB / 0.7905 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.6317, allocations: 11.66 kB / 0.7905 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.6318, allocations: 16.8 kB / 0.7905 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.6318, allocations: 2.844 kB / 0.7905 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6318, allocations: 1.625 kB / 0.7905 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6318, allocations: 1.375 kB / 0.7905 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.632, allocations: 199.3 kB / 0.7907 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.632, allocations: 1.625 kB / 0.7907 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.6321, allocations: 16.88 kB / 0.7907 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6321, allocations: 0.7188 kB / 0.7907 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.6321, allocations: 6.234 kB / 0.7907 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.6321, allocations: 0.5312 kB / 0.7907 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6321, allocations: 0.6875 kB / 0.7907 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.6325, allocations: 186.3 kB / 0.7909 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.6326, allocations: 87.2 kB / 0.791 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.6326, allocations: 5.75 kB / 0.791 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.6327, allocations: 11.48 kB / 0.791 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/0.6328, allocations: 17.41 kB / 0.791 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.6328, allocations: 0 / 0.791 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.999e-05/0.6329, allocations: 112.5 kB / 0.7911 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6329, allocations: 1.5 kB / 0.7911 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002656/0.6332, allocations: 42.08 kB / 0.7912 GB, free: 47.02 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: 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: 1 * 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.0001764/0.6334, allocations: 119 kB / 0.7913 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.6338, allocations: 183.5 kB / 0.7914 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6338, allocations: 0 / 0.7914 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.634, allocations: 69.25 kB / 0.7915 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.6343, allocations: 13.55 kB / 0.7915 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.6348, allocations: 225.3 kB / 0.7917 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.635, allocations: 0.7034 MB / 0.7924 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.55e-05/0.635, allocations: 15.56 kB / 0.7924 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.6351, allocations: 16.41 kB / 0.7925 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.6351, allocations: 0 / 0.7925 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.004013/0.6391, allocations: 1.401 MB / 0.7938 GB, free: 46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)