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.15/0.1507, allocations: 82.21 MB / 0.5935 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003508/0.1542, allocations: 2.643 MB / 0.5961 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.1567, allocations: 1.642 MB / 0.5977 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.1568, allocations: 7.938 kB / 0.5977 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.157, allocations: 39.7 kB / 0.5977 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.1574, allocations: 163.3 kB / 0.5979 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.1577, allocations: 135.7 kB / 0.598 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.1582, allocations: 370.9 kB / 0.5983 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008855/0.159, allocations: 0.4946 MB / 0.5988 GB, free: 408 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1592, allocations: 103.6 kB / 0.5989 GB, free: 304 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.1595, allocations: 155.5 kB / 0.5991 GB, free: 148 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.1595, allocations: 12 kB / 0.5991 GB, free: 136 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.1598, allocations: 147.8 kB / 0.5992 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.473e-05/0.1599, allocations: 83.77 kB / 0.5993 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.1601, allocations: 65.58 kB / 0.5994 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.1604, allocations: 319.2 kB / 0.5997 GB, free: 15.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1604, allocations: 0 / 0.5997 GB, free: 15.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1604, allocations: 0 / 0.5997 GB, free: 15.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1604, allocations: 0 / 0.5997 GB, free: 15.52 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.000775/0.1612, allocations: 0.4951 MB / 0.6002 GB, free: 14.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1613, allocations: 8.031 kB / 0.6002 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006637/0.1619, allocations: 95.61 kB / 0.6003 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1622, allocations: 250.6 kB / 0.6005 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1623, allocations: 20.38 kB / 0.6005 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-05/0.1623, allocations: 23.98 kB / 0.6005 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.1629, allocations: 368.3 kB / 0.6009 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1629, allocations: 0 / 0.6009 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.1629, allocations: 15.94 kB / 0.6009 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.903e-05/0.163, allocations: 36.34 kB / 0.6009 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.1635, allocations: 301.5 kB / 0.6012 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.1651, allocations: 1.166 MB / 0.6024 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.1655, allocations: 230.4 kB / 0.6026 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1657, allocations: 120.8 kB / 0.6027 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.1658, allocations: 85.09 kB / 0.6028 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1659, allocations: 34.56 kB / 0.6028 GB, free: 12.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.1659, allocations: 0 / 0.6028 GB, free: 12.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.001253/0.1671, allocations: 0.8007 MB / 0.6036 GB, free: 11.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.1672, allocations: 51.41 kB / 0.6036 GB, free: 11.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1675, allocations: 198.6 kB / 0.6038 GB, free: 10.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.1675, allocations: 29.7 kB / 0.6039 GB, free: 10.94 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.1676, allocations: 163.8 kB / 0.604 GB, free: 10.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.1678, allocations: 63.09 kB / 0.6041 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.1678, allocations: 4 kB / 0.6041 GB, free: 10.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.1681, allocations: 330.8 kB / 0.6044 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.1684, allocations: 119.9 kB / 0.6045 GB, free: 10.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.1686, allocations: 178.9 kB / 0.6047 GB, free: 10.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.1688, allocations: 137.9 kB / 0.6048 GB, free: 9.934 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1689, allocations: 0 / 0.6048 GB, free: 9.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007839/0.1696, allocations: 414.5 kB / 0.6052 GB, free: 9.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1697, allocations: 4 kB / 0.6052 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1697, allocations: 4 kB / 0.6052 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003854/0.1701, allocations: 100.9 kB / 0.6053 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.1703, allocations: 55.91 kB / 0.6054 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.1725, allocations: 1.737 MB / 0.6071 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1727, allocations: 16.02 kB / 0.6071 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.1728, allocations: 15.98 kB / 0.6071 GB, free: 7.453 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 (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.0001724/0.173, allocations: 154.5 kB / 0.6072 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.173, allocations: 15.81 kB / 0.6073 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005123/0.1735, allocations: 301.3 kB / 0.6075 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1735, allocations: 7.984 kB / 0.6075 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.1736, allocations: 4 kB / 0.6076 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1736, allocations: 0 / 0.6076 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008433/0.1744, allocations: 0.7162 MB / 0.6083 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1744, allocations: 192 / 0.6083 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.1747, allocations: 59.95 kB / 0.6083 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1747, allocations: 0 / 0.6083 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.1747, allocations: 8 kB / 0.6083 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1747, allocations: 3.984 kB / 0.6083 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1748, allocations: 8.016 kB / 0.6083 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.1754, allocations: 0.5129 MB / 0.6088 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1755, allocations: 112.9 kB / 0.6089 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.1755, allocations: 8 kB / 0.6089 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.1757, allocations: 11.98 kB / 0.609 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.1758, allocations: 20 kB / 0.609 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1759, allocations: 7.984 kB / 0.609 GB, free: 5.402 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.176, allocations: 144.1 kB / 0.6091 GB, free: 5.262 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.176, allocations: 0 / 0.6091 GB, free: 5.262 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003442/0.1763, allocations: 67.94 kB / 0.6092 GB, free: 5.195 MB / 462.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 (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.0002003/0.1766, allocations: 111.1 kB / 0.6093 GB, free: 5.078 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007015/0.1773, allocations: 425.7 kB / 0.6097 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1773, allocations: 0 / 0.6097 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.1774, allocations: 120.5 kB / 0.6098 GB, free: 4.535 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1778, allocations: 36.11 kB / 0.6098 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.179, allocations: 0.7606 MB / 0.6106 GB, free: 3.707 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1794, allocations: 0.7713 MB / 0.6113 GB, free: 2.906 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.1796, allocations: 65.89 kB / 0.6114 GB, free: 2.844 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.1797, allocations: 19.44 kB / 0.6114 GB, free: 2.824 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1797, allocations: 0 / 0.6114 GB, free: 2.824 MB / 462.1 MB Notification: Performance of Templates: time 0.005711/0.1854, allocations: 2.573 MB / 0.6139 GB, free: 304 kB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: