Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.484/2.484, allocations: 287.9 MB / 302.9 MB, free: 8.289 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.001436/0.001435, allocations: 191.7 kB / 371.4 MB, free: 10.66 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.416/2.416, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001002/0.001001, allocations: 93.2 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 15 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1549, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003224/0.1582, allocations: 2.61 MB / 0.9813 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002484/0.1607, allocations: 1.588 MB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.1609, allocations: 0 / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.1611, allocations: 35.77 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.1615, allocations: 143.5 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.162, allocations: 143.6 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1622, allocations: 179.6 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008983/0.1632, allocations: 495.3 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1633, allocations: 99.67 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.1636, allocations: 99.64 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.1636, allocations: 8 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.164, allocations: 139.8 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.1641, allocations: 83.78 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.1641, allocations: 61.64 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.1645, allocations: 319.4 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.597e-06/0.1645, allocations: 4 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.055e-06/0.1645, allocations: 0 / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.527e-06/0.1645, allocations: 0 / 0.9846 GB, free: 22.14 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007969/0.1653, allocations: 0.4998 MB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1654, allocations: 12.03 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000938/0.1663, allocations: 103.6 kB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.1667, allocations: 250.7 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.1667, allocations: 16.44 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.1668, allocations: 27.92 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.1675, allocations: 365 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1675, allocations: 0 / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.1676, allocations: 15.94 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.1677, allocations: 32.41 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000563/0.1683, allocations: 305.5 kB / 0.9862 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.1702, allocations: 1.529 MB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.1707, allocations: 234.4 kB / 0.9879 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.1709, allocations: 81.11 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1709, allocations: 38.56 kB / 0.988 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.385e-06/0.1709, allocations: 3.938 kB / 0.988 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001416/0.1723, allocations: 0.7905 MB / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.1724, allocations: 55.41 kB / 0.9888 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1726, allocations: 198.6 kB / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1726, allocations: 29.7 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.1727, allocations: 163.8 kB / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.1728, allocations: 67 kB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.1728, allocations: 4 kB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.1729, allocations: 334.8 kB / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.1731, allocations: 111.9 kB / 0.9897 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.1733, allocations: 167 kB / 0.9898 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.1736, allocations: 135 kB / 0.99 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-06/0.1736, allocations: 0 / 0.99 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008864/0.1745, allocations: 417.9 kB / 0.9904 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1745, allocations: 7.938 kB / 0.9904 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.033e-06/0.1746, allocations: 4 kB / 0.9904 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/0.1751, allocations: 96.95 kB / 0.9905 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.1754, allocations: 59.89 kB / 0.9905 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.1773, allocations: 1.757 MB / 0.9923 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.1777, allocations: 16.02 kB / 0.9923 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.1777, allocations: 8 kB / 0.9923 GB, free: 13.73 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.1779, allocations: 162.3 kB / 0.9924 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.178, allocations: 19.77 kB / 0.9924 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000555/0.1785, allocations: 300.5 kB / 0.9927 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.645e-06/0.1786, allocations: 0 / 0.9927 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1786, allocations: 4 kB / 0.9927 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.701e-06/0.1786, allocations: 0 / 0.9927 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.1796, allocations: 0.7121 MB / 0.9934 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1796, allocations: 0 / 0.9934 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.18, allocations: 59.95 kB / 0.9935 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.686e-06/0.1801, allocations: 3.984 kB / 0.9935 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1801, allocations: 8.312 kB / 0.9935 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.135e-06/0.1801, allocations: 0 / 0.9935 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.399e-06/0.1801, allocations: 4 kB / 0.9935 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/0.1808, allocations: 0.5383 MB / 0.994 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.1809, allocations: 116.9 kB / 0.9941 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.181, allocations: 0 / 0.9941 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.1813, allocations: 15.98 kB / 0.9942 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.1813, allocations: 11.98 kB / 0.9942 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.1813, allocations: 16.05 kB / 0.9942 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001396/0.1815, allocations: 144 kB / 0.9943 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.46e-07/0.1815, allocations: 0 / 0.9943 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004801/0.182, allocations: 71.94 kB / 0.9944 GB, free: 11.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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 0.0001425/0.1822, allocations: 115.2 kB / 0.9945 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008043/0.183, allocations: 434.6 kB / 0.9949 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.691e-06/0.183, allocations: 0 / 0.9949 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.1832, allocations: 121.4 kB / 0.995 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1836, allocations: 24.17 kB / 0.9951 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.1849, allocations: 0.7575 MB / 0.9958 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1852, allocations: 0.7791 MB / 0.9966 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002228/0.1854, allocations: 61.89 kB / 0.9966 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.1855, allocations: 15.44 kB / 0.9966 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of SimCode: time 1.482e-06/0.1855, allocations: 0 / 0.9966 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of Templates: time 0.00679/0.1923, allocations: 2.572 MB / 0.9991 GB, free: 6.504 MB / 0.6198 GB