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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, 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.001201/0.001201, allocations: 191.8 kB / 16.14 MB, free: 6.707 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.123/1.123, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.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.51/1.51, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001246/0.001246, allocations: 67.2 kB / 0.6709 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1683, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002299/0.1706, allocations: 1.628 MB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008181/0.1714, allocations: 0.6282 MB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.1715, allocations: 0 / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.596e-05/0.1716, allocations: 7.922 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.388e-05/0.1716, allocations: 19.81 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1719, allocations: 71.84 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.172e-05/0.172, allocations: 87.69 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.166e-05/0.1721, allocations: 24.23 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.1722, allocations: 39.84 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.1722, allocations: 43.81 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1723, allocations: 4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.1724, allocations: 63.89 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.1724, allocations: 15.92 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.1725, allocations: 35.73 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.1726, allocations: 135.9 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1726, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1726, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1726, allocations: 4 kB / 0.7855 GB, free: 11.11 MB / 0.6075 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.0006629/0.1733, allocations: 464.6 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1734, allocations: 12.03 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/0.1734, allocations: 38.69 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.1734, allocations: 8.844 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1736, allocations: 196.1 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.1736, allocations: 384 / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.1736, allocations: 4.375 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.1739, allocations: 117.7 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.1739, allocations: 0 / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1739, allocations: 0 / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.1739, allocations: 4 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.1743, allocations: 91.84 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.1748, allocations: 340.7 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1751, allocations: 98.44 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.1752, allocations: 64.88 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.1753, allocations: 0 / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.1755, allocations: 111.3 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1755, allocations: 0 / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005541/0.1761, allocations: 205.3 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.1761, allocations: 59.41 kB / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.1762, allocations: 140.4 kB / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1762, allocations: 25.7 kB / 0.7874 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.1763, allocations: 104 kB / 0.7875 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1763, allocations: 27.77 kB / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.1764, allocations: 29.81 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.1765, allocations: 330.7 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.1767, allocations: 55.95 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.1768, allocations: 52.23 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.1771, allocations: 154.5 kB / 0.7881 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1772, allocations: 3.938 kB / 0.7881 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004117/0.1776, allocations: 191.2 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.1776, allocations: 29.7 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1776, allocations: 0 / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.1776, allocations: 4 kB / 0.7883 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1778, allocations: 31.91 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1778, allocations: 0 / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1779, allocations: 19.83 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.1779, allocations: 7.938 kB / 0.7884 GB, free: 7.887 MB / 0.6075 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 7.44e-05/0.178, allocations: 121.8 kB / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.178, allocations: 7.906 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.1781, allocations: 12.72 kB / 0.7885 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.1781, allocations: 11.94 kB / 0.7885 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1781, allocations: 0 / 0.7885 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1781, allocations: 0 / 0.7885 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.1783, allocations: 201.5 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1783, allocations: 0 / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.1784, allocations: 19.97 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1784, allocations: 0 / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1784, allocations: 4 kB / 0.7888 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1784, allocations: 0 / 0.7888 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1784, allocations: 4 kB / 0.7888 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.1788, allocations: 188.8 kB / 0.7889 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.1789, allocations: 81.02 kB / 0.789 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1789, allocations: 4 kB / 0.789 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.179, allocations: 15.97 kB / 0.789 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.1791, allocations: 19.97 kB / 0.7891 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1791, allocations: 4 kB / 0.7891 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.091e-05/0.1792, allocations: 115.1 kB / 0.7892 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1792, allocations: 0 / 0.7892 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000212/0.1794, allocations: 39.84 kB / 0.7892 GB, free: 6.953 MB / 0.6075 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.000642/0.18, allocations: 0.7373 MB / 0.7899 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.1804, allocations: 187.2 kB / 0.7901 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1804, allocations: 0 / 0.7901 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.1806, allocations: 68.12 kB / 0.7902 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.1808, allocations: 15.92 kB / 0.7902 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.1828, allocations: 1.701 MB / 0.7919 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.183, allocations: 0.7043 MB / 0.7925 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.819e-05/0.183, allocations: 23.7 kB / 0.7926 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.1831, allocations: 27.42 kB / 0.7926 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1831, allocations: 0 / 0.7926 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.1939, allocations: 2.491 MB / 0.795 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.1941, allocations: 199.8 kB / 0.7952 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/1.742, allocations: 0 / 0.7952 GB, free: 0.6953 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)