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.001319/0.001326, allocations: 102 kB / 16.41 MB, free: 6.488 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.001352/0.001352, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.14 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.8846/0.8846, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.64 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.174, allocations: 82.03 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003714/0.1778, allocations: 1.559 MB / 0.6778 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1792, allocations: 0.5726 MB / 0.6783 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1794, allocations: 4 kB / 0.6784 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.1795, allocations: 11.86 kB / 0.6784 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.1797, allocations: 15.81 kB / 0.6784 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.1802, allocations: 91.77 kB / 0.6785 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.1805, allocations: 103.7 kB / 0.6786 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1806, allocations: 16.23 kB / 0.6786 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.1808, allocations: 43.78 kB / 0.6786 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.181, allocations: 51.81 kB / 0.6787 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.181, allocations: 4 kB / 0.6787 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.1813, allocations: 95.84 kB / 0.6788 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.1813, allocations: 19.92 kB / 0.6788 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.321e-05/0.1814, allocations: 39.8 kB / 0.6788 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.1817, allocations: 139.5 kB / 0.679 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1817, allocations: 0 / 0.679 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1817, allocations: 4 kB / 0.679 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.1818, allocations: 0 / 0.679 GB, free: 7.605 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.0009669/0.1827, allocations: 452.7 kB / 0.6794 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1828, allocations: 8.031 kB / 0.6794 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.1829, allocations: 16.69 kB / 0.6794 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.1831, allocations: 194.3 kB / 0.6796 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1831, allocations: 4.375 kB / 0.6796 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1832, allocations: 8.375 kB / 0.6796 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.1835, allocations: 101.9 kB / 0.6797 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1836, allocations: 0 / 0.6797 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.1836, allocations: 4 kB / 0.6797 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.1836, allocations: 4 kB / 0.6797 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.184, allocations: 91.86 kB / 0.6798 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/0.1848, allocations: 348.6 kB / 0.6801 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.1851, allocations: 98.44 kB / 0.6802 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.1853, allocations: 60.88 kB / 0.6803 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1853, allocations: 0 / 0.6803 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003645/0.1857, allocations: 107.3 kB / 0.6804 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 2.434e-06/0.1857, allocations: 4 kB / 0.6804 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006804/0.1864, allocations: 209.3 kB / 0.6806 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.1865, allocations: 51.41 kB / 0.6806 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.1866, allocations: 145.7 kB / 0.6808 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.1866, allocations: 29.7 kB / 0.6808 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.1867, allocations: 104 kB / 0.6809 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1867, allocations: 27.77 kB / 0.6809 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.1868, allocations: 25.7 kB / 0.681 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.187, allocations: 326.8 kB / 0.6813 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.1872, allocations: 55.95 kB / 0.6813 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.1874, allocations: 60 kB / 0.6814 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.1878, allocations: 146.4 kB / 0.6815 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1878, allocations: 0 / 0.6815 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004882/0.1883, allocations: 203.1 kB / 0.6817 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.1884, allocations: 29.7 kB / 0.6817 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1884, allocations: 0 / 0.6817 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1884, allocations: 4 kB / 0.6818 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1886, allocations: 23.92 kB / 0.6818 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1886, allocations: 0 / 0.6818 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.1887, allocations: 19.91 kB / 0.6818 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.1888, allocations: 4 kB / 0.6818 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.0001299/0.1889, allocations: 122.4 kB / 0.6819 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.1889, allocations: 15.89 kB / 0.6819 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.189, allocations: 16.7 kB / 0.6819 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.189, allocations: 4 kB / 0.6819 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.189, allocations: 4 kB / 0.682 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.189, allocations: 0 / 0.682 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.1892, allocations: 205.4 kB / 0.6821 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1893, allocations: 3.938 kB / 0.6822 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1894, allocations: 15.98 kB / 0.6822 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1894, allocations: 480 / 0.6822 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1894, allocations: 7.984 kB / 0.6822 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1894, allocations: 0 / 0.6822 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1894, allocations: 4 kB / 0.6822 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.1899, allocations: 188.8 kB / 0.6824 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.1899, allocations: 81.02 kB / 0.6824 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.19, allocations: 4 kB / 0.6824 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1901, allocations: 19.98 kB / 0.6825 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.1902, allocations: 11.97 kB / 0.6825 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.1902, allocations: 4 kB / 0.6825 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.504e-05/0.1903, allocations: 113.1 kB / 0.6826 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1903, allocations: 0 / 0.6826 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002585/0.1906, allocations: 43.86 kB / 0.6826 GB, free: 3.504 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.0001955/0.1908, allocations: 123.2 kB / 0.6827 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006077/0.1914, allocations: 187.3 kB / 0.6829 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1914, allocations: 0 / 0.6829 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.1916, allocations: 68.03 kB / 0.683 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.1918, allocations: 8 kB / 0.683 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.1924, allocations: 253.4 kB / 0.6832 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.1929, allocations: 0.7079 MB / 0.6839 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.193, allocations: 11.44 kB / 0.6839 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.193, allocations: 0 / 0.6839 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of Templates: time 0.004096/0.1971, allocations: 1.531 MB / 0.6854 GB, free: 0.5664 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)