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.156/0.1567, allocations: 82.21 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004738/0.1615, allocations: 3.511 MB / 0.5968 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.1652, allocations: 2.133 MB / 0.5989 GB, free: 348 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.1655, allocations: 4 kB / 0.5989 GB, free: 344 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.1657, allocations: 75.47 kB / 0.599 GB, free: 268 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006311/0.1664, allocations: 199.4 kB / 0.5991 GB, free: 68 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.1672, allocations: 263.3 kB / 0.5994 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005323/0.1677, allocations: 311.4 kB / 0.5997 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.1688, allocations: 0.6046 MB / 0.6003 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.1691, allocations: 155.4 kB / 0.6004 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.1695, allocations: 195.3 kB / 0.6006 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.1696, allocations: 16 kB / 0.6006 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.17, allocations: 135.8 kB / 0.6008 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1701, allocations: 143.6 kB / 0.6009 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1703, allocations: 93.52 kB / 0.601 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006458/0.1709, allocations: 474.8 kB / 0.6014 GB, free: 13.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1709, allocations: 0 / 0.6014 GB, free: 13.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1709, allocations: 0 / 0.6014 GB, free: 13.69 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.171, allocations: 0 / 0.6014 GB, free: 13.69 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.001286/0.1723, allocations: 0.6423 MB / 0.6021 GB, free: 13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1723, allocations: 12.03 kB / 0.6021 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.1735, allocations: 143.4 kB / 0.6022 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.174, allocations: 315.9 kB / 0.6025 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.1741, allocations: 25 kB / 0.6025 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/0.1741, allocations: 43.97 kB / 0.6026 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008656/0.175, allocations: 0.6116 MB / 0.6032 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.175, allocations: 4 kB / 0.6032 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.1751, allocations: 12 kB / 0.6032 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.609e-05/0.1752, allocations: 44.56 kB / 0.6032 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000808/0.176, allocations: 470.2 kB / 0.6037 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003386/0.1794, allocations: 2.814 MB / 0.6064 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.1801, allocations: 380.8 kB / 0.6068 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.1801, allocations: 8 kB / 0.6068 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.1802, allocations: 34.56 kB / 0.6068 GB, free: 7.844 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.1802, allocations: 0 / 0.6068 GB, free: 7.844 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.004549/0.1847, allocations: 1.459 MB / 0.6083 GB, free: 6.336 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.1849, allocations: 92.94 kB / 0.6084 GB, free: 6.227 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.1852, allocations: 324.4 kB / 0.6087 GB, free: 5.902 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.1853, allocations: 29.7 kB / 0.6087 GB, free: 5.867 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1855, allocations: 259 kB / 0.6089 GB, free: 5.609 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.727e-05/0.1856, allocations: 94.67 kB / 0.609 GB, free: 5.516 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.1856, allocations: 16 kB / 0.609 GB, free: 5.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1857, allocations: 334.8 kB / 0.6094 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.186, allocations: 181 kB / 0.6095 GB, free: 4.984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.1864, allocations: 342.1 kB / 0.6099 GB, free: 4.582 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.1867, allocations: 231.8 kB / 0.6101 GB, free: 4.355 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.1867, allocations: 4 kB / 0.6101 GB, free: 4.352 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002305/0.189, allocations: 0.9042 MB / 0.611 GB, free: 3.434 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001207/0.1903, allocations: 2.09 MB / 0.613 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.1903, allocations: 4 kB / 0.613 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.1927, allocations: 0.5049 MB / 0.6135 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.1931, allocations: 95.81 kB / 0.6136 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005729/0.1988, allocations: 3.859 MB / 0.6174 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/0.1993, allocations: 35.81 kB / 0.6174 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.1994, allocations: 24.06 kB / 0.6174 GB, free: 12.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1994, allocations: 8 kB / 0.6174 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008257/0.2002, allocations: 488 kB / 0.6179 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2003, allocations: 4 kB / 0.6179 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2003, allocations: 8.281 kB / 0.6179 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.2007, allocations: 107.8 kB / 0.618 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.2007, allocations: 15.92 kB / 0.618 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.201, allocations: 31.92 kB / 0.6181 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.201, allocations: 16 kB / 0.6181 GB, free: 11.72 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.0003053/0.2013, allocations: 277 kB / 0.6183 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.2015, allocations: 39.61 kB / 0.6184 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.2031, allocations: 0.6714 MB / 0.619 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.2031, allocations: 4 kB / 0.619 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.2031, allocations: 0 / 0.619 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2031, allocations: 0 / 0.619 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.2042, allocations: 0.6637 MB / 0.6197 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2042, allocations: 0 / 0.6197 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.2044, allocations: 51.91 kB / 0.6197 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.2059, allocations: 405.3 kB / 0.6201 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.206, allocations: 4 kB / 0.6201 GB, free: 9.527 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/0.21, allocations: 3.556 MB / 0.6236 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.21, allocations: 4.031 kB / 0.6236 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.2116, allocations: 0.8621 MB / 0.6244 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.2118, allocations: 140.6 kB / 0.6246 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.2119, allocations: 15.94 kB / 0.6246 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.2122, allocations: 31.95 kB / 0.6246 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.2123, allocations: 23.97 kB / 0.6246 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2123, allocations: 11.98 kB / 0.6247 GB, free: 4.551 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002486/0.2126, allocations: 223.1 kB / 0.6249 GB, free: 4.336 MB / 478.1 MB Notification: Performance of sort global known variables: time 3e-07/0.2126, allocations: 0 / 0.6249 GB, free: 4.336 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008703/0.2135, allocations: 192 kB / 0.6251 GB, free: 4.148 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.0001695/0.2136, allocations: 111.1 kB / 0.6252 GB, free: 4.027 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.2152, allocations: 0.9552 MB / 0.6261 GB, free: 3.047 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2152, allocations: 0 / 0.6261 GB, free: 3.047 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007165/0.216, allocations: 483 kB / 0.6266 GB, free: 2.551 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.2164, allocations: 64.09 kB / 0.6266 GB, free: 2.492 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.2178, allocations: 0.9332 MB / 0.6275 GB, free: 1.523 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.2182, allocations: 0.8586 MB / 0.6284 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003994/0.2186, allocations: 143.4 kB / 0.6285 GB, free: 0.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.2187, allocations: 31.42 kB / 0.6285 GB, free: 480 kB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2187, allocations: 0 / 0.6285 GB, free: 480 kB / 478.1 MB Notification: Performance of Templates: time 0.0111/0.2298, allocations: 6.58 MB / 0.635 GB, free: 9.938 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: