Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009853/0.0009853, allocations: 173.2 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007112/0.0007112, allocations: 92.22 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 9.406 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1533, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.003957/0.1573, allocations: 4.332 MB / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002616/0.16, allocations: 2.237 MB / 0.9032 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.1602, allocations: 7.938 kB / 0.9032 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.1613, allocations: 0.5022 MB / 0.9037 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.1617, allocations: 250.9 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006429/0.1624, allocations: 314.1 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005065/0.1629, allocations: 0.8103 MB / 0.905 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004557/0.1634, allocations: 364.2 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.1636, allocations: 187.2 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.1639, allocations: 275 kB / 0.9058 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.1639, allocations: 16 kB / 0.9058 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.1643, allocations: 291.4 kB / 0.9061 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1644, allocations: 155.6 kB / 0.9062 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.1646, allocations: 187 kB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.1649, allocations: 0.4948 MB / 0.9069 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1649, allocations: 0 / 0.9069 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1649, allocations: 0 / 0.9069 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.165, allocations: 0 / 0.9069 GB, free: 57.76 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008046/0.1658, allocations: 0.6317 MB / 0.9075 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.1658, allocations: 12.03 kB / 0.9075 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008651/0.1667, allocations: 140.2 kB / 0.9076 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.167, allocations: 312.6 kB / 0.9079 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.167, allocations: 25.38 kB / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.1671, allocations: 40.31 kB / 0.908 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.1678, allocations: 0.6379 MB / 0.9086 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1678, allocations: 7.844 kB / 0.9086 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.1678, allocations: 16 kB / 0.9087 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/0.1679, allocations: 44.62 kB / 0.9087 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/0.1685, allocations: 478.2 kB / 0.9092 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.1709, allocations: 3.417 MB / 0.9125 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.1715, allocations: 379.4 kB / 0.9129 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.1717, allocations: 173.6 kB / 0.913 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.1717, allocations: 7.984 kB / 0.913 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.1717, allocations: 38.56 kB / 0.9131 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.793e-06/0.1718, allocations: 0 / 0.9131 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.004177/0.1759, allocations: 1.46 MB / 0.9145 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.176, allocations: 85.05 kB / 0.9146 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1762, allocations: 328.4 kB / 0.9149 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1763, allocations: 33.7 kB / 0.9149 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.1764, allocations: 263.2 kB / 0.9152 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.1764, allocations: 94.66 kB / 0.9153 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.1765, allocations: 41.69 kB / 0.9153 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.1765, allocations: 342.8 kB / 0.9156 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.1767, allocations: 181 kB / 0.9158 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.177, allocations: 340.9 kB / 0.9161 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.1775, allocations: 0.5357 MB / 0.9166 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1775, allocations: 4 kB / 0.9166 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002006/0.1795, allocations: 0.9084 MB / 0.9175 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.84e-05/0.1796, allocations: 249 kB / 0.9178 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1796, allocations: 8 kB / 0.9178 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/0.1818, allocations: 0.5048 MB / 0.9183 GB, free: 45.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.1821, allocations: 91.88 kB / 0.9184 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004363/0.1865, allocations: 3.778 MB / 0.922 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.1869, allocations: 39.88 kB / 0.9221 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.1869, allocations: 27.92 kB / 0.9221 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/0.1869, allocations: 4 kB / 0.9221 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005563/0.1875, allocations: 471.3 kB / 0.9226 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1875, allocations: 8 kB / 0.9226 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.581e-06/0.1875, allocations: 8 kB / 0.9226 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.1879, allocations: 107.8 kB / 0.9227 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1879, allocations: 20.52 kB / 0.9227 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1881, allocations: 31.83 kB / 0.9227 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1881, allocations: 31.98 kB / 0.9228 GB, free: 40.41 MB / 0.6042 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.1883, allocations: 265.6 kB / 0.923 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/0.1884, allocations: 35.56 kB / 0.9231 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.1898, allocations: 0.6703 MB / 0.9237 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1899, allocations: 4 kB / 0.9237 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.1899, allocations: 0 / 0.9237 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1899, allocations: 0 / 0.9237 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000709/0.1906, allocations: 0.6598 MB / 0.9244 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1906, allocations: 3.984 kB / 0.9244 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.1908, allocations: 48 kB / 0.9244 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.1922, allocations: 405.3 kB / 0.9248 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.1922, allocations: 8 kB / 0.9248 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/0.195, allocations: 3.482 MB / 0.9282 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.195, allocations: 3.984 kB / 0.9282 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.1964, allocations: 0.8241 MB / 0.929 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1965, allocations: 148.6 kB / 0.9292 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.1966, allocations: 8 kB / 0.9292 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.1969, allocations: 39.94 kB / 0.9292 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.197, allocations: 23.97 kB / 0.9292 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.197, allocations: 8 kB / 0.9292 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001709/0.1972, allocations: 231 kB / 0.9294 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1972, allocations: 0 / 0.9294 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007274/0.1979, allocations: 196 kB / 0.9296 GB, free: 32.97 MB / 0.6042 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.1981, allocations: 111.7 kB / 0.9297 GB, free: 32.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.1993, allocations: 0.9626 MB / 0.9307 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1993, allocations: 1.875 kB / 0.9307 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005539/0.1999, allocations: 477.3 kB / 0.9311 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.2005, allocations: 72.98 kB / 0.9312 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009631/0.2014, allocations: 0.9565 MB / 0.9321 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.2017, allocations: 0.8431 MB / 0.933 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.2018, allocations: 39.42 kB / 0.933 GB, free: 29.39 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.2018, allocations: 0 / 0.933 GB, free: 29.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.007719/0.2095, allocations: 8.262 MB / 0.9411 GB, free: 21.14 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)