Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.511/2.511, allocations: 287.9 MB / 302.9 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 185.1 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.362/2.362, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001037, allocations: 99.95 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007717/0.0007719, allocations: 11.12 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1767, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002613/0.1794, allocations: 2.103 MB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1806, allocations: 0.721 MB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.601e-05/0.1807, allocations: 0 / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.1808, allocations: 27.84 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.1811, allocations: 63.81 kB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.1814, allocations: 79.77 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1816, allocations: 107.8 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.1818, allocations: 171.2 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.267e-05/0.1819, allocations: 55.77 kB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1821, allocations: 63.75 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.1821, allocations: 8 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1822, allocations: 51.84 kB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.1823, allocations: 39.91 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.1824, allocations: 49.64 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1826, allocations: 163.9 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.449e-06/0.1826, allocations: 0 / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.269e-06/0.1826, allocations: 4 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.1826, allocations: 0 / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004832/0.1831, allocations: 429.3 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1832, allocations: 12.03 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004517/0.1836, allocations: 51.77 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1838, allocations: 202.9 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1839, allocations: 12.28 kB / 0.983 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.1839, allocations: 16 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.1843, allocations: 230.7 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1843, allocations: 0 / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.1843, allocations: 8 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.432e-05/0.1844, allocations: 8.281 kB / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.1847, allocations: 152.7 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.1856, allocations: 1.138 MB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.332e-05/0.1857, allocations: 34.56 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1858, allocations: 7.953 kB / 0.9846 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.1858, allocations: 34.56 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.84e-06/0.1858, allocations: 0 / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001927/0.186, allocations: 73.56 kB / 0.9847 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.186, allocations: 55.41 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1862, allocations: 179 kB / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.754e-06/0.1862, allocations: 25.7 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.1863, allocations: 143.4 kB / 0.9851 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.1863, allocations: 15.75 kB / 0.9851 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-06/0.1863, allocations: 0 / 0.9851 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.1864, allocations: 322.8 kB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.1865, allocations: 19.98 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.1865, allocations: 93.38 kB / 0.9855 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.661e-05/0.1866, allocations: 31.98 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.952e-06/0.1866, allocations: 4 kB / 0.9855 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002326/0.1869, allocations: 129.3 kB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000199/0.1871, allocations: 0.9796 MB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.622e-06/0.1871, allocations: 4 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1871, allocations: 4 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1873, allocations: 19.94 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.71e-06/0.1873, allocations: 7.984 kB / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1874, allocations: 19.84 kB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1874, allocations: 4 kB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.657e-06/0.1875, allocations: 5.25 kB / 0.9867 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001779/0.1876, allocations: 95.72 kB / 0.9868 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1877, allocations: 4 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.014e-06/0.1877, allocations: 4 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.1878, allocations: 27.92 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.723e-06/0.1878, allocations: 4 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.1879, allocations: 15.84 kB / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.546e-06/0.1879, allocations: 4.312 kB / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.188, allocations: 221 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.1881, allocations: 11.89 kB / 0.987 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.1881, allocations: 12.94 kB / 0.9871 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1881, allocations: 8 kB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.901e-06/0.1881, allocations: 0 / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.165e-06/0.1882, allocations: 3.938 kB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.1886, allocations: 473.1 kB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1886, allocations: 0 / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.1887, allocations: 15.92 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.1887, allocations: 288 / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.744e-06/0.1887, allocations: 4 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.004e-06/0.1887, allocations: 4 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1887, allocations: 3.953 kB / 0.9876 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.1889, allocations: 144.8 kB / 0.9877 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.1889, allocations: 96.91 kB / 0.9878 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.189, allocations: 7.938 kB / 0.9878 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.189, allocations: 4 kB / 0.9878 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.189, allocations: 0 / 0.9878 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-06/0.1891, allocations: 4 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.388e-05/0.1892, allocations: 127.9 kB / 0.9879 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.92e-07/0.1892, allocations: 0 / 0.9879 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004518/0.1896, allocations: 51.84 kB / 0.988 GB, free: 18.12 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.664e-05/0.1897, allocations: 99.19 kB / 0.9881 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.19, allocations: 111.7 kB / 0.9882 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.077e-06/0.19, allocations: 0 / 0.9882 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.19, allocations: 17.38 kB / 0.9882 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.1902, allocations: 27.81 kB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.1908, allocations: 321 kB / 0.9885 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.1909, allocations: 0.7241 MB / 0.9892 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.1911, allocations: 28.61 kB / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.1911, allocations: 19.38 kB / 0.9893 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.382e-06/0.1911, allocations: 0 / 0.9893 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.00356/0.1947, allocations: 0.7925 MB / 0.99 GB, free: 15.93 MB / 0.6198 GB