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.001159/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001143/0.001143, allocations: 188.4 kB / 16.25 MB, free: 6.637 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.202/1.202, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.525/1.525, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001345/0.001345, allocations: 74.03 kB / 0.6711 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1682, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002507/0.1707, allocations: 1.624 MB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008886/0.1716, allocations: 0.6087 MB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.1717, allocations: 7.938 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.814e-05/0.1718, allocations: 7.922 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.1719, allocations: 7.875 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1722, allocations: 83.84 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1724, allocations: 99.7 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.1725, allocations: 20.22 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1726, allocations: 43.78 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.1726, allocations: 51.81 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1727, allocations: 4 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.453e-05/0.1728, allocations: 67.89 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.1728, allocations: 19.92 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.1729, allocations: 39.8 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.1731, allocations: 139.8 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1731, allocations: 0 / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1731, allocations: 0 / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1731, allocations: 0 / 0.7857 GB, free: 10.99 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.0006974/0.1738, allocations: 452.7 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1738, allocations: 16.03 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.1739, allocations: 34.75 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.1739, allocations: 16.77 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1741, allocations: 192.2 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1741, allocations: 4.312 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.1741, allocations: 4.375 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.1744, allocations: 105.7 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.1744, allocations: 4 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1744, allocations: 4 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.1745, allocations: 7.984 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.1748, allocations: 87.91 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.1753, allocations: 360.6 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.1756, allocations: 90.52 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.1758, allocations: 60.88 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.1758, allocations: 0 / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.1761, allocations: 119.3 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.1761, allocations: 0 / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005827/0.1767, allocations: 201.4 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1768, allocations: 63.39 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.1769, allocations: 140.3 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1769, allocations: 25.7 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.1769, allocations: 104.1 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.177, allocations: 27.69 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.177, allocations: 25.7 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.1771, allocations: 326.8 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.1773, allocations: 59.95 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.1775, allocations: 55.95 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.1778, allocations: 150.6 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1778, allocations: 0 / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000423/0.1783, allocations: 199.5 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.1783, allocations: 33.7 kB / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1783, allocations: 0 / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.1783, allocations: 4.094 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1785, allocations: 23.91 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1785, allocations: 0 / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.1786, allocations: 19.83 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.1786, allocations: 11.94 kB / 0.7886 GB, free: 7.766 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 8.636e-05/0.1787, allocations: 125.8 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.1788, allocations: 7.906 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.1788, allocations: 12.72 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.1788, allocations: 7.984 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1788, allocations: 0 / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1788, allocations: 0 / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.179, allocations: 197.5 kB / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.179, allocations: 0 / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1791, allocations: 23.97 kB / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1791, allocations: 0 / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1791, allocations: 3.938 kB / 0.789 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1791, allocations: 0 / 0.789 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1791, allocations: 4 kB / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.1795, allocations: 188.8 kB / 0.7891 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.1796, allocations: 81.02 kB / 0.7892 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.1796, allocations: 4 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1797, allocations: 15.97 kB / 0.7892 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.1798, allocations: 11.98 kB / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1798, allocations: 8 kB / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.685e-05/0.1799, allocations: 115.1 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1799, allocations: 0 / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000225/0.1801, allocations: 43.94 kB / 0.7894 GB, free: 6.832 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.0006823/0.1808, allocations: 0.7401 MB / 0.7901 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004375/0.1813, allocations: 191.2 kB / 0.7903 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1813, allocations: 0 / 0.7903 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.1815, allocations: 59.95 kB / 0.7904 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.1817, allocations: 15.98 kB / 0.7904 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.1837, allocations: 1.719 MB / 0.7921 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.184, allocations: 0.7002 MB / 0.7928 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.314e-05/0.1841, allocations: 15.75 kB / 0.7928 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.1841, allocations: 35.42 kB / 0.7928 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1841, allocations: 4 kB / 0.7928 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4153/0.5994, allocations: 2.558 MB / 0.7953 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.5996, allocations: 193.1 kB / 0.7955 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.247, allocations: 11.31 kB / 0.7955 GB, free: 0.5039 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)