Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001403/0.001403, 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.001457/0.001457, allocations: 192.5 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9753/0.9753, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 59.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1767, allocations: 82.04 MB / 0.5936 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002662/0.1794, allocations: 1.599 MB / 0.5952 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009142/0.1803, allocations: 0.5883 MB / 0.5957 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.1803, allocations: 0 / 0.5957 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.1805, allocations: 7.922 kB / 0.5957 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.1805, allocations: 19.86 kB / 0.5958 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1808, allocations: 75.84 kB / 0.5958 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.1809, allocations: 83.72 kB / 0.5959 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.181, allocations: 16.22 kB / 0.5959 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1812, allocations: 47.83 kB / 0.596 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.302e-05/0.1812, allocations: 43.77 kB / 0.596 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1813, allocations: 8 kB / 0.596 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/0.1814, allocations: 59.89 kB / 0.5961 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.1814, allocations: 23.92 kB / 0.5961 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.1815, allocations: 39.72 kB / 0.5961 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1817, allocations: 135.8 kB / 0.5963 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1817, allocations: 0 / 0.5963 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.12e-07/0.1817, allocations: 0 / 0.5963 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.1817, allocations: 0 / 0.5963 GB, free: 7.293 MB / 0.4981 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.0007676/0.1825, allocations: 456.7 kB / 0.5967 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1826, allocations: 8.031 kB / 0.5967 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.1826, allocations: 12.84 kB / 0.5967 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.1828, allocations: 192.1 kB / 0.5969 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1828, allocations: 384 / 0.5969 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.1828, allocations: 4.375 kB / 0.5969 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1831, allocations: 117.9 kB / 0.597 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1832, allocations: 3.984 kB / 0.597 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1832, allocations: 4 kB / 0.597 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.1832, allocations: 4 kB / 0.597 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.1835, allocations: 87.86 kB / 0.5971 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.1842, allocations: 348.6 kB / 0.5975 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.1845, allocations: 86.52 kB / 0.5975 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.1847, allocations: 60.88 kB / 0.5976 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.1847, allocations: 0 / 0.5976 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/0.1851, allocations: 119.4 kB / 0.5977 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1851, allocations: 3.938 kB / 0.5977 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006569/0.1857, allocations: 201.5 kB / 0.5979 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1858, allocations: 67.67 kB / 0.598 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1859, allocations: 139.8 kB / 0.5981 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1859, allocations: 25.7 kB / 0.5981 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.186, allocations: 104.1 kB / 0.5982 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.186, allocations: 27.55 kB / 0.5983 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.1861, allocations: 25.72 kB / 0.5983 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.1862, allocations: 326.8 kB / 0.5986 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.1864, allocations: 59.95 kB / 0.5986 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.1866, allocations: 59.94 kB / 0.5987 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.187, allocations: 146.5 kB / 0.5988 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.187, allocations: 0 / 0.5988 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005/0.1875, allocations: 195.2 kB / 0.599 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.1875, allocations: 40.03 kB / 0.5991 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1875, allocations: 4 kB / 0.5991 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1875, allocations: 3.938 kB / 0.5991 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1877, allocations: 19.98 kB / 0.5991 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1877, allocations: 0 / 0.5991 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1879, allocations: 27.91 kB / 0.5991 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1879, allocations: 0 / 0.5991 GB, free: 4.125 MB / 0.4981 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 9.285e-05/0.188, allocations: 125.7 kB / 0.5992 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.188, allocations: 11.81 kB / 0.5993 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.1881, allocations: 16.7 kB / 0.5993 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.1881, allocations: 4 kB / 0.5993 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1881, allocations: 4 kB / 0.5993 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1881, allocations: 0 / 0.5993 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1883, allocations: 197.5 kB / 0.5995 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1883, allocations: 4 kB / 0.5995 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1884, allocations: 15.98 kB / 0.5995 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1884, allocations: 0 / 0.5995 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1884, allocations: 4 kB / 0.5995 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1884, allocations: 3.984 kB / 0.5995 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1884, allocations: 0 / 0.5995 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.1889, allocations: 188.8 kB / 0.5997 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.1889, allocations: 85.2 kB / 0.5998 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.1889, allocations: 0 / 0.5998 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1891, allocations: 15.92 kB / 0.5998 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.1892, allocations: 15.97 kB / 0.5998 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1892, allocations: 4 kB / 0.5998 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.559e-05/0.1892, allocations: 107.2 kB / 0.5999 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1892, allocations: 0 / 0.5999 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002412/0.1895, allocations: 39.94 kB / 0.5999 GB, free: 3.199 MB / 0.4981 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.00018/0.1897, allocations: 123.2 kB / 0.6 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004668/0.1902, allocations: 187.2 kB / 0.6002 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1902, allocations: 0 / 0.6002 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.1904, allocations: 67.89 kB / 0.6003 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.1906, allocations: 8 kB / 0.6003 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.1911, allocations: 267 kB / 0.6006 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1914, allocations: 0.7004 MB / 0.6012 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.674e-05/0.1915, allocations: 15.97 kB / 0.6012 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.1915, allocations: 11.44 kB / 0.6013 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1915, allocations: 0 / 0.6013 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of Templates: time 0.003818/0.1953, allocations: 1.275 MB / 0.6025 GB, free: 500 kB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)