Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.Probe,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") [/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.1622/0.163, allocations: 82.22 MB / 0.5935 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004514/0.1676, allocations: 3.594 MB / 0.597 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.1708, allocations: 2.16 MB / 0.5991 GB, free: 160 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.171, allocations: 8 kB / 0.5991 GB, free: 152 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1712, allocations: 67.44 kB / 0.5992 GB, free: 84 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005451/0.1718, allocations: 223 kB / 0.5994 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.1725, allocations: 275.4 kB / 0.5996 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006001/0.1731, allocations: 0.6387 MB / 0.6003 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.1742, allocations: 0.6046 MB / 0.6009 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.1745, allocations: 187.3 kB / 0.601 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.1749, allocations: 259.1 kB / 0.6013 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.175, allocations: 16 kB / 0.6013 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.1753, allocations: 147.8 kB / 0.6014 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.1754, allocations: 147.6 kB / 0.6016 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.166e-05/0.1755, allocations: 97.52 kB / 0.6017 GB, free: 13.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.176, allocations: 482.7 kB / 0.6021 GB, free: 13.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.176, allocations: 0 / 0.6021 GB, free: 13.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.176, allocations: 0 / 0.6021 GB, free: 13.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1761, allocations: 3.938 kB / 0.6021 GB, free: 13.01 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009901/0.1771, allocations: 0.6316 MB / 0.6028 GB, free: 12.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1771, allocations: 8.031 kB / 0.6028 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000932/0.178, allocations: 135.4 kB / 0.6029 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.1785, allocations: 316.2 kB / 0.6032 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.1785, allocations: 29 kB / 0.6032 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.1786, allocations: 35.94 kB / 0.6033 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008867/0.1795, allocations: 0.6143 MB / 0.6039 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1795, allocations: 7.938 kB / 0.6039 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.1796, allocations: 16 kB / 0.6039 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.094e-05/0.1797, allocations: 40.62 kB / 0.6039 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/0.1804, allocations: 481.2 kB / 0.6044 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.1835, allocations: 2.806 MB / 0.6071 GB, free: 7.625 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006676/0.1842, allocations: 380.8 kB / 0.6075 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.1845, allocations: 170.2 kB / 0.6076 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.1845, allocations: 7.984 kB / 0.6077 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1846, allocations: 34.56 kB / 0.6077 GB, free: 7.012 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 2.234e-06/0.1846, allocations: 0 / 0.6077 GB, free: 7.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.004175/0.1888, allocations: 1.454 MB / 0.6091 GB, free: 5.508 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.1888, allocations: 96.98 kB / 0.6092 GB, free: 5.395 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.1892, allocations: 324.4 kB / 0.6095 GB, free: 5.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.1892, allocations: 29.7 kB / 0.6095 GB, free: 5.035 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.1894, allocations: 259 kB / 0.6098 GB, free: 4.777 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.403e-05/0.1895, allocations: 94.69 kB / 0.6099 GB, free: 4.684 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.1895, allocations: 8 kB / 0.6099 GB, free: 4.676 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1896, allocations: 338.8 kB / 0.6102 GB, free: 4.336 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.1899, allocations: 177 kB / 0.6104 GB, free: 4.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.1903, allocations: 346.1 kB / 0.6107 GB, free: 3.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.1906, allocations: 235.8 kB / 0.6109 GB, free: 3.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1907, allocations: 7.938 kB / 0.6109 GB, free: 3.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002175/0.1928, allocations: 0.9044 MB / 0.6118 GB, free: 2.598 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000202/0.1931, allocations: 249.1 kB / 0.6121 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.1931, allocations: 4 kB / 0.6121 GB, free: 2.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.1952, allocations: 0.5048 MB / 0.6126 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.1956, allocations: 91.88 kB / 0.6126 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005165/0.2007, allocations: 3.775 MB / 0.6163 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.2012, allocations: 43.81 kB / 0.6164 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.2012, allocations: 20 kB / 0.6164 GB, free: 13.56 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.2013, allocations: 7.938 kB / 0.6164 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007341/0.202, allocations: 483.5 kB / 0.6169 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.202, allocations: 4 kB / 0.6169 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.202, allocations: 12.11 kB / 0.6169 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.2024, allocations: 107.8 kB / 0.617 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.2024, allocations: 16.64 kB / 0.617 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.2027, allocations: 31.92 kB / 0.617 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.2027, allocations: 20 kB / 0.617 GB, free: 12.89 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003182/0.203, allocations: 273.8 kB / 0.6173 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.2031, allocations: 31.62 kB / 0.6173 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.2047, allocations: 0.6745 MB / 0.618 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.2048, allocations: 4 kB / 0.618 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2048, allocations: 0 / 0.618 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2048, allocations: 4.141 kB / 0.618 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000868/0.2057, allocations: 0.6676 MB / 0.6186 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2057, allocations: 3.984 kB / 0.6187 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.2059, allocations: 48 kB / 0.6187 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.2073, allocations: 401.2 kB / 0.6191 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.2073, allocations: 8 kB / 0.6191 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/0.211, allocations: 3.467 MB / 0.6225 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.211, allocations: 3.984 kB / 0.6225 GB, free: 6.973 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.2127, allocations: 0.8297 MB / 0.6233 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.2129, allocations: 140.6 kB / 0.6234 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.213, allocations: 8 kB / 0.6234 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.2133, allocations: 35.94 kB / 0.6235 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.2134, allocations: 23.97 kB / 0.6235 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.2134, allocations: 12 kB / 0.6235 GB, free: 5.875 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.2137, allocations: 231 kB / 0.6237 GB, free: 5.652 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2137, allocations: 0 / 0.6237 GB, free: 5.652 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008751/0.2146, allocations: 188 kB / 0.6239 GB, free: 5.469 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001594/0.2147, allocations: 119.1 kB / 0.624 GB, free: 5.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.2163, allocations: 0.9629 MB / 0.625 GB, free: 4.352 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2163, allocations: 1.875 kB / 0.625 GB, free: 4.352 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.217, allocations: 481.9 kB / 0.6254 GB, free: 3.855 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.2175, allocations: 73.03 kB / 0.6255 GB, free: 3.785 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2188, allocations: 0.9249 MB / 0.6264 GB, free: 2.824 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.2192, allocations: 0.8508 MB / 0.6272 GB, free: 1.945 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.2196, allocations: 143.2 kB / 0.6274 GB, free: 1.809 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.2197, allocations: 27.42 kB / 0.6274 GB, free: 1.781 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2197, allocations: 0 / 0.6274 GB, free: 1.781 MB / 478.1 MB Notification: Performance of Templates: time 0.01122/0.2309, allocations: 6.594 MB / 0.6338 GB, free: 11.23 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) Environment - environmentSimulation: