Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1662/0.1681, allocations: 80.83 MB / 0.5899 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004982/0.1731, allocations: 3.095 MB / 0.5929 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1759, allocations: 1.769 MB / 0.5946 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1761, allocations: 0 / 0.5946 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.1772, allocations: 314.2 kB / 0.5949 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008413/0.1781, allocations: 211.3 kB / 0.5951 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.1787, allocations: 159.7 kB / 0.5953 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.1792, allocations: 315 kB / 0.5956 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006229/0.1799, allocations: 261 kB / 0.5958 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.1802, allocations: 139.6 kB / 0.596 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.1806, allocations: 179.4 kB / 0.5961 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.1807, allocations: 20 kB / 0.5962 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005978/0.1813, allocations: 243.5 kB / 0.5964 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.1814, allocations: 99.77 kB / 0.5965 GB, free: 9.961 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.1816, allocations: 123.4 kB / 0.5966 GB, free: 9.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.1821, allocations: 426.7 kB / 0.597 GB, free: 9.422 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1821, allocations: 7.938 kB / 0.597 GB, free: 9.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1821, allocations: 0 / 0.597 GB, free: 9.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1822, allocations: 0 / 0.597 GB, free: 9.414 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0009618/0.1831, allocations: 0.5424 MB / 0.5976 GB, free: 8.824 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1832, allocations: 12.03 kB / 0.5976 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007512/0.1839, allocations: 96.53 kB / 0.5977 GB, free: 8.719 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.1843, allocations: 251.5 kB / 0.5979 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1843, allocations: 16.81 kB / 0.5979 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1844, allocations: 28.45 kB / 0.5979 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/0.1851, allocations: 372.4 kB / 0.5983 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.1851, allocations: 0 / 0.5983 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.1851, allocations: 11.94 kB / 0.5983 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.1853, allocations: 36.41 kB / 0.5983 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.1857, allocations: 297.5 kB / 0.5986 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.1873, allocations: 1.166 MB / 0.5998 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.1878, allocations: 238.4 kB / 0.6 GB, free: 6.199 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1879, allocations: 116.8 kB / 0.6001 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.1881, allocations: 93.03 kB / 0.6002 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1881, allocations: 34.56 kB / 0.6002 GB, free: 5.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.974e-06/0.1881, allocations: 0 / 0.6002 GB, free: 5.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.001267/0.1894, allocations: 0.8032 MB / 0.601 GB, free: 5.074 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1895, allocations: 55.41 kB / 0.6011 GB, free: 5.008 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1896, allocations: 190.6 kB / 0.6012 GB, free: 4.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.1897, allocations: 33.7 kB / 0.6013 GB, free: 4.773 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.1898, allocations: 159.9 kB / 0.6014 GB, free: 4.613 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.1899, allocations: 63.02 kB / 0.6015 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.1899, allocations: 57.69 kB / 0.6015 GB, free: 4.488 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1901, allocations: 326.8 kB / 0.6019 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.1903, allocations: 123.9 kB / 0.602 GB, free: 4.039 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.1905, allocations: 169.9 kB / 0.6021 GB, free: 3.852 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.1909, allocations: 304.3 kB / 0.6024 GB, free: 3.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1909, allocations: 4 kB / 0.6024 GB, free: 3.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007478/0.1916, allocations: 414 kB / 0.6028 GB, free: 3.117 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1917, allocations: 11.94 kB / 0.6028 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1917, allocations: 4 kB / 0.6028 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/0.1921, allocations: 96.75 kB / 0.6029 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.1924, allocations: 59.84 kB / 0.603 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.1942, allocations: 1.871 MB / 0.6048 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.1944, allocations: 16.02 kB / 0.6048 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.1945, allocations: 15.92 kB / 0.6048 GB, free: 0.9023 MB / 462.1 MB 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.0001722/0.1947, allocations: 155.4 kB / 0.605 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.1947, allocations: 23.8 kB / 0.605 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.1952, allocations: 303.2 kB / 0.6053 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1952, allocations: 4 kB / 0.6053 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1952, allocations: 0 / 0.6053 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1952, allocations: 0 / 0.6053 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008924/0.1961, allocations: 0.7178 MB / 0.606 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1961, allocations: 0 / 0.606 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.1964, allocations: 60.14 kB / 0.6061 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1964, allocations: 0 / 0.6061 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.1965, allocations: 15.92 kB / 0.6061 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1965, allocations: 0 / 0.6061 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.1965, allocations: 7.938 kB / 0.6061 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.1971, allocations: 0.5158 MB / 0.6066 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.1972, allocations: 116.9 kB / 0.6067 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.1973, allocations: 3.938 kB / 0.6067 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.1975, allocations: 15.98 kB / 0.6067 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.1975, allocations: 15.97 kB / 0.6067 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1975, allocations: 8 kB / 0.6068 GB, free: 14.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1977, allocations: 140.1 kB / 0.6069 GB, free: 14.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.114e-06/0.1977, allocations: 4.062 kB / 0.6069 GB, free: 14.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.198, allocations: 71.94 kB / 0.607 GB, free: 14.62 MB / 478.1 MB 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.0001722/0.1982, allocations: 111.2 kB / 0.6071 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007767/0.199, allocations: 442.6 kB / 0.6075 GB, free: 14.06 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.199, allocations: 4.062 kB / 0.6075 GB, free: 14.06 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.1992, allocations: 127.8 kB / 0.6076 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.1996, allocations: 33.31 kB / 0.6076 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2008, allocations: 0.7133 MB / 0.6083 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.2012, allocations: 0.7791 MB / 0.6091 GB, free: 12.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000183/0.2014, allocations: 69.88 kB / 0.6092 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.2014, allocations: 15.44 kB / 0.6092 GB, free: 12.27 MB / 478.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2015, allocations: 4 kB / 0.6092 GB, free: 12.27 MB / 478.1 MB Notification: Performance of Templates: time 0.005984/0.2074, allocations: 2.793 MB / 0.6119 GB, free: 9.523 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)