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.007948/0.007948, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001394/0.001394, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.8268/0.8268, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 60.78 kB / 0.5955 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1828, allocations: 82.04 MB / 0.6756 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002687/0.1855, allocations: 1.535 MB / 0.6771 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1867, allocations: 0.5765 MB / 0.6777 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.844e-05/0.1868, allocations: 4 kB / 0.6777 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1869, allocations: 7.938 kB / 0.6777 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1871, allocations: 19.78 kB / 0.6777 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.1876, allocations: 91.77 kB / 0.6778 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1879, allocations: 99.64 kB / 0.6779 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.188, allocations: 20.22 kB / 0.6779 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1882, allocations: 51.77 kB / 0.6779 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1883, allocations: 39.83 kB / 0.678 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1883, allocations: 12 kB / 0.678 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1885, allocations: 87.91 kB / 0.6781 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.1885, allocations: 23.86 kB / 0.6781 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.1886, allocations: 43.78 kB / 0.6781 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.1888, allocations: 139.5 kB / 0.6783 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1889, allocations: 0 / 0.6783 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1889, allocations: 0 / 0.6783 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1889, allocations: 0 / 0.6783 GB, free: 7.617 MB / 0.5137 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.0008833/0.1898, allocations: 456.7 kB / 0.6787 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1898, allocations: 12.03 kB / 0.6787 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.1899, allocations: 12.75 kB / 0.6787 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1901, allocations: 200.1 kB / 0.6789 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1901, allocations: 4.375 kB / 0.6789 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1901, allocations: 4.375 kB / 0.6789 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.1905, allocations: 101.9 kB / 0.679 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1905, allocations: 0 / 0.679 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1905, allocations: 15.97 kB / 0.679 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.1905, allocations: 4 kB / 0.6791 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.1909, allocations: 87.92 kB / 0.6791 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006989/0.1916, allocations: 348.6 kB / 0.6795 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1919, allocations: 90.52 kB / 0.6796 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1921, allocations: 56.88 kB / 0.6796 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1921, allocations: 0 / 0.6796 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/0.1924, allocations: 123.3 kB / 0.6797 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.1924, allocations: 0 / 0.6797 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006378/0.1931, allocations: 205.4 kB / 0.6799 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1931, allocations: 55.41 kB / 0.68 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1933, allocations: 143.8 kB / 0.6801 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1933, allocations: 29.7 kB / 0.6801 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.1934, allocations: 108 kB / 0.6802 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.1934, allocations: 23.7 kB / 0.6803 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1935, allocations: 21.72 kB / 0.6803 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1936, allocations: 322.8 kB / 0.6806 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.1938, allocations: 59.95 kB / 0.6807 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.194, allocations: 60 kB / 0.6807 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.1943, allocations: 142.5 kB / 0.6808 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1943, allocations: 4.312 kB / 0.6808 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000453/0.1948, allocations: 203.1 kB / 0.681 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.1949, allocations: 33.7 kB / 0.6811 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1949, allocations: 96 / 0.6811 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1949, allocations: 7.922 kB / 0.6811 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.195, allocations: 19.98 kB / 0.6811 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1951, allocations: 0 / 0.6811 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.1952, allocations: 19.92 kB / 0.6811 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1952, allocations: 3.984 kB / 0.6811 GB, free: 4.449 MB / 0.5137 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 0.0001191/0.1954, allocations: 129.7 kB / 0.6812 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.1954, allocations: 7.906 kB / 0.6813 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.1954, allocations: 20.7 kB / 0.6813 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.1954, allocations: 4 kB / 0.6813 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1955, allocations: 0 / 0.6813 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1955, allocations: 0 / 0.6813 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1957, allocations: 197.5 kB / 0.6815 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1957, allocations: 3.938 kB / 0.6815 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.1958, allocations: 19.98 kB / 0.6815 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1958, allocations: 0 / 0.6815 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1958, allocations: 4 kB / 0.6815 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1958, allocations: 0 / 0.6815 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1958, allocations: 0 / 0.6815 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.1963, allocations: 192.8 kB / 0.6817 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.1963, allocations: 89 kB / 0.6818 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1963, allocations: 0 / 0.6818 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1965, allocations: 15.98 kB / 0.6818 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.1965, allocations: 15.98 kB / 0.6818 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1966, allocations: 3.984 kB / 0.6818 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.002e-05/0.1966, allocations: 108.9 kB / 0.6819 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1966, allocations: 0 / 0.6819 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002517/0.1969, allocations: 43.88 kB / 0.6819 GB, free: 3.512 MB / 0.5137 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.0001971/0.1971, allocations: 123.2 kB / 0.6821 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004877/0.1976, allocations: 183.2 kB / 0.6822 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1976, allocations: 192 / 0.6822 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.1978, allocations: 59.95 kB / 0.6823 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.1981, allocations: 27.86 kB / 0.6823 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.1987, allocations: 228.1 kB / 0.6825 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1989, allocations: 0.7001 MB / 0.6832 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.324e-05/0.199, allocations: 19.97 kB / 0.6832 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.1991, allocations: 19.42 kB / 0.6833 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1991, allocations: 0 / 0.6833 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of Templates: time 0.004494/0.2036, allocations: 1.453 MB / 0.6847 GB, free: 0.6562 MB / 0.5137 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)