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.1525/0.1544, allocations: 80.84 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004081/0.1585, allocations: 3.046 MB / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.1609, allocations: 1.769 MB / 0.6753 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.495e-05/0.161, allocations: 7.938 kB / 0.6753 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008142/0.1619, allocations: 337.7 kB / 0.6757 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004244/0.1623, allocations: 223.1 kB / 0.6759 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.1627, allocations: 175.6 kB / 0.676 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.163, allocations: 318.8 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.1632, allocations: 244.7 kB / 0.6766 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.1634, allocations: 135.6 kB / 0.6767 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.1636, allocations: 159.5 kB / 0.6769 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.1637, allocations: 20 kB / 0.6769 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.164, allocations: 251.5 kB / 0.6771 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.1641, allocations: 99.77 kB / 0.6772 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.313e-05/0.1642, allocations: 115.4 kB / 0.6773 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.1646, allocations: 426.7 kB / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1646, allocations: 4 kB / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1646, allocations: 0 / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.1646, allocations: 0 / 0.6777 GB, free: 10.73 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0007397/0.1654, allocations: 0.5381 MB / 0.6783 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.168e-05/0.1654, allocations: 12.03 kB / 0.6783 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006548/0.1661, allocations: 88.55 kB / 0.6784 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.1663, allocations: 259.9 kB / 0.6786 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1664, allocations: 16.8 kB / 0.6786 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.545e-05/0.1665, allocations: 28.5 kB / 0.6786 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.1669, allocations: 368.4 kB / 0.679 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.167, allocations: 0 / 0.679 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.167, allocations: 16 kB / 0.679 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.171e-05/0.1671, allocations: 32.34 kB / 0.679 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.1675, allocations: 301.5 kB / 0.6793 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.169, allocations: 1.17 MB / 0.6805 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.1694, allocations: 238.3 kB / 0.6807 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.1696, allocations: 120.8 kB / 0.6808 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.1698, allocations: 89.34 kB / 0.6809 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1698, allocations: 34.56 kB / 0.6809 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.1698, allocations: 0 / 0.6809 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001241/0.171, allocations: 0.7953 MB / 0.6817 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1711, allocations: 55.41 kB / 0.6818 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1713, allocations: 190.7 kB / 0.6819 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1713, allocations: 25.7 kB / 0.682 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.276e-05/0.1714, allocations: 163.8 kB / 0.6821 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.1715, allocations: 71.09 kB / 0.6822 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-05/0.1715, allocations: 57.59 kB / 0.6822 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1717, allocations: 330.8 kB / 0.6826 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1718, allocations: 111.9 kB / 0.6827 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.172, allocations: 174.9 kB / 0.6828 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.1724, allocations: 298.5 kB / 0.6831 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1724, allocations: 0 / 0.6831 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006661/0.1731, allocations: 413.9 kB / 0.6835 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1731, allocations: 7.938 kB / 0.6835 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1731, allocations: 8.172 kB / 0.6835 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003795/0.1735, allocations: 100.8 kB / 0.6836 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.1737, allocations: 51.91 kB / 0.6837 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.1755, allocations: 1.875 MB / 0.6855 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.1757, allocations: 19.97 kB / 0.6855 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.1757, allocations: 15.94 kB / 0.6855 GB, free: 2.223 MB / 0.5137 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.0001382/0.1758, allocations: 157.7 kB / 0.6857 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1759, allocations: 23.8 kB / 0.6857 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.1763, allocations: 299.4 kB / 0.686 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1764, allocations: 4 kB / 0.686 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.1764, allocations: 0 / 0.686 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1764, allocations: 0 / 0.686 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008137/0.1772, allocations: 0.709 MB / 0.6867 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1772, allocations: 3.984 kB / 0.6867 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.1775, allocations: 51.97 kB / 0.6868 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1775, allocations: 15.92 kB / 0.6868 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.1775, allocations: 15.88 kB / 0.6868 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1775, allocations: 3.984 kB / 0.6868 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1776, allocations: 0 / 0.6868 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.1781, allocations: 0.5125 MB / 0.6873 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1782, allocations: 116.9 kB / 0.6874 GB, free: 204 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.1782, allocations: 12 kB / 0.6874 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1784, allocations: 15.97 kB / 0.6874 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.1784, allocations: 15.92 kB / 0.6874 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1785, allocations: 8 kB / 0.6874 GB, free: 152 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001132/0.1786, allocations: 140.1 kB / 0.6876 GB, free: 12 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1786, allocations: 0 / 0.6876 GB, free: 12 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003454/0.1789, allocations: 72.14 kB / 0.6876 GB, free: 15.94 MB / 0.5294 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.0001534/0.1791, allocations: 103.2 kB / 0.6877 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006641/0.1798, allocations: 434.2 kB / 0.6882 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1798, allocations: 0 / 0.6882 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1799, allocations: 123.9 kB / 0.6883 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1803, allocations: 46.98 kB / 0.6883 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1814, allocations: 0.6201 MB / 0.6889 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1817, allocations: 0.7792 MB / 0.6897 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00015/0.1819, allocations: 57.91 kB / 0.6897 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.1819, allocations: 19.44 kB / 0.6898 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.1819, allocations: 0 / 0.6898 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.005731/0.1877, allocations: 2.84 MB / 0.6925 GB, free: 10.87 MB / 0.5294 GB 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)