Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009528/0.000953, allocations: 173.3 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007239/0.000724, allocations: 88.17 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 8.906 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1782, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00298/0.1813, allocations: 2.794 MB / 0.8995 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.1833, allocations: 1.742 MB / 0.9012 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.1834, allocations: 7.938 kB / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007861/0.1842, allocations: 310.9 kB / 0.9015 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.1846, allocations: 187.3 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.1849, allocations: 167.7 kB / 0.9018 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.1852, allocations: 462.8 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.1856, allocations: 248.6 kB / 0.9025 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1858, allocations: 107.5 kB / 0.9026 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.186, allocations: 151.4 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1861, allocations: 12 kB / 0.9028 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.1864, allocations: 279.5 kB / 0.903 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.1865, allocations: 95.7 kB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.371e-05/0.1866, allocations: 107.4 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.1869, allocations: 327.1 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1869, allocations: 0 / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1869, allocations: 0 / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1869, allocations: 8 kB / 0.9035 GB, free: 61.19 MB / 0.6042 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.0007318/0.1877, allocations: 499.2 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1877, allocations: 8.031 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000663/0.1884, allocations: 92.55 kB / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1886, allocations: 267.8 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1886, allocations: 16.81 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/0.1887, allocations: 28.55 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.1892, allocations: 369.2 kB / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1892, allocations: 7.938 kB / 0.9048 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.1892, allocations: 7.984 kB / 0.9048 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.283e-05/0.1893, allocations: 32.41 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.1897, allocations: 301.5 kB / 0.9051 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.1911, allocations: 1.541 MB / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.1914, allocations: 234.3 kB / 0.9068 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1916, allocations: 120.8 kB / 0.9069 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.1917, allocations: 85.11 kB / 0.907 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1917, allocations: 34.55 kB / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.1917, allocations: 0 / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0009773/0.1927, allocations: 0.7826 MB / 0.9078 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.1927, allocations: 63.34 kB / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1929, allocations: 191.2 kB / 0.9081 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1929, allocations: 29.7 kB / 0.9081 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.193, allocations: 159.8 kB / 0.9082 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.193, allocations: 74.92 kB / 0.9083 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.1931, allocations: 29.7 kB / 0.9083 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.1931, allocations: 330.8 kB / 0.9087 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1932, allocations: 111.9 kB / 0.9088 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1934, allocations: 179 kB / 0.9089 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.1937, allocations: 296.7 kB / 0.9092 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1937, allocations: 0 / 0.9092 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006654/0.1944, allocations: 417.8 kB / 0.9096 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1944, allocations: 4 kB / 0.9096 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1944, allocations: 4.188 kB / 0.9096 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004145/0.1948, allocations: 100.7 kB / 0.9097 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.1951, allocations: 55.89 kB / 0.9098 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.1965, allocations: 1.738 MB / 0.9115 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.1967, allocations: 24.03 kB / 0.9115 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.1968, allocations: 8 kB / 0.9115 GB, free: 52.45 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.1969, allocations: 161.7 kB / 0.9117 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.1969, allocations: 15.81 kB / 0.9117 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.1973, allocations: 297.4 kB / 0.912 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1974, allocations: 4 kB / 0.912 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.1974, allocations: 0 / 0.912 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1974, allocations: 0 / 0.912 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.1981, allocations: 0.7055 MB / 0.9126 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1981, allocations: 0 / 0.9126 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.1984, allocations: 63.89 kB / 0.9127 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1984, allocations: 192 / 0.9127 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.1984, allocations: 8 kB / 0.9127 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1984, allocations: 4.062 kB / 0.9127 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1984, allocations: 3.938 kB / 0.9127 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.1989, allocations: 0.5119 MB / 0.9132 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.769e-05/0.199, allocations: 120.8 kB / 0.9133 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.199, allocations: 11.94 kB / 0.9133 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1992, allocations: 11.92 kB / 0.9134 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.1992, allocations: 20.05 kB / 0.9134 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1992, allocations: 4 kB / 0.9134 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.762e-05/0.1993, allocations: 148 kB / 0.9135 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1993, allocations: 0 / 0.9135 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000308/0.1996, allocations: 64 kB / 0.9136 GB, free: 50.2 MB / 0.6042 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 (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.0001481/0.1998, allocations: 103.2 kB / 0.9137 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005876/0.2004, allocations: 434.4 kB / 0.9141 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2004, allocations: 4 kB / 0.9141 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2005, allocations: 123.8 kB / 0.9142 GB, free: 49.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2009, allocations: 34.03 kB / 0.9143 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.2019, allocations: 0.7561 MB / 0.915 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.2021, allocations: 0.7752 MB / 0.9157 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.2022, allocations: 27.42 kB / 0.9158 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2022, allocations: 3.938 kB / 0.9158 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.004289/0.2065, allocations: 3.559 MB / 0.9193 GB, free: 44.32 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)