Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 102.7 kB / 16.36 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.845/1.845, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001635, allocations: 71.88 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2266, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.3675/0.5941, allocations: 4.618 MB / 0.7893 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.5971, allocations: 2.222 MB / 0.7915 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.5973, allocations: 9 kB / 0.7915 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.5987, allocations: 0.5416 MB / 0.792 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.5992, allocations: 273.2 kB / 0.7923 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.5999, allocations: 340.1 kB / 0.7926 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.6004, allocations: 0.5631 MB / 0.7931 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.6008, allocations: 370.7 kB / 0.7935 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.6011, allocations: 227.2 kB / 0.7937 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.6015, allocations: 278.4 kB / 0.794 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.6015, allocations: 34.91 kB / 0.794 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.6019, allocations: 260.6 kB / 0.7943 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.602, allocations: 175 kB / 0.7944 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.6022, allocations: 213.8 kB / 0.7946 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.6027, allocations: 0.6427 MB / 0.7953 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6027, allocations: 3.344 kB / 0.7953 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6027, allocations: 0 / 0.7953 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.6028, allocations: 0 / 0.7953 GB, free: 45.62 MB / 0.6544 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.0009402/0.6037, allocations: 0.7145 MB / 0.796 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.6037, allocations: 10.25 kB / 0.796 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009268/0.6047, allocations: 141.6 kB / 0.7961 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.605, allocations: 333.1 kB / 0.7964 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.6051, allocations: 27.47 kB / 0.7964 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/0.6051, allocations: 36.64 kB / 0.7965 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007324/0.6059, allocations: 0.6257 MB / 0.7971 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.6059, allocations: 3.375 kB / 0.7971 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.606, allocations: 15.62 kB / 0.7971 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.13e-05/0.606, allocations: 44.2 kB / 0.7972 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/0.6067, allocations: 478.8 kB / 0.7976 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.6093, allocations: 3.413 MB / 0.8009 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.61, allocations: 371.3 kB / 0.8013 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.6102, allocations: 171.1 kB / 0.8015 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.6103, allocations: 7.922 kB / 0.8015 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.6103, allocations: 38.45 kB / 0.8015 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.824e-06/0.6103, allocations: 0 / 0.8015 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26): time 0.00467/0.615, allocations: 1.46 MB / 0.8029 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.615, allocations: 81.02 kB / 0.803 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.6155, allocations: 326.5 kB / 0.8033 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.6155, allocations: 31.36 kB / 0.8033 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.6156, allocations: 260.2 kB / 0.8036 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.6157, allocations: 91.19 kB / 0.8037 GB, free: 40.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.6159, allocations: 97.5 kB / 0.8038 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.616, allocations: 345.1 kB / 0.8041 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.6163, allocations: 187.2 kB / 0.8043 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.6166, allocations: 339.5 kB / 0.8046 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.6172, allocations: 0.5345 MB / 0.8051 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6172, allocations: 1.438 kB / 0.8051 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002437/0.6197, allocations: 0.9079 MB / 0.806 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.6197, allocations: 13.06 kB / 0.806 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.6198, allocations: 8 kB / 0.806 GB, free: 39.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002452/0.6222, allocations: 0.5025 MB / 0.8065 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.6227, allocations: 89.39 kB / 0.8066 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/0.6281, allocations: 4.053 MB / 0.8106 GB, free: 36.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.6286, allocations: 43.27 kB / 0.8106 GB, free: 36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.6286, allocations: 22.73 kB / 0.8106 GB, free: 35.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003839/0.629, allocations: 302.7 kB / 0.8109 GB, free: 35.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002924/0.6293, allocations: 334.3 kB / 0.8112 GB, free: 35.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005036/0.6298, allocations: 0.4942 MB / 0.8117 GB, free: 35.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.507e-06/0.6299, allocations: 2.625 kB / 0.8117 GB, free: 35.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007362/0.6306, allocations: 0.5299 MB / 0.8122 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.6306, allocations: 7.812 kB / 0.8123 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.6306, allocations: 7.281 kB / 0.8123 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.6306, allocations: 11.78 kB / 0.8123 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.631, allocations: 113.9 kB / 0.8124 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6311, allocations: 12.97 kB / 0.8124 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.6314, allocations: 37.03 kB / 0.8124 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.6314, allocations: 22.81 kB / 0.8124 GB, free: 34.93 MB / 0.6544 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.0001248/0.6315, allocations: 208.8 kB / 0.8126 GB, free: 34.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.6316, allocations: 32.41 kB / 0.8127 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.6333, allocations: 0.6791 MB / 0.8133 GB, free: 34.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.6334, allocations: 2.719 kB / 0.8133 GB, free: 34.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.6334, allocations: 1.5 kB / 0.8133 GB, free: 34.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.6334, allocations: 2.062 kB / 0.8133 GB, free: 34.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.6342, allocations: 0.6548 MB / 0.814 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6342, allocations: 1.219 kB / 0.814 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.6344, allocations: 49.91 kB / 0.814 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/0.636, allocations: 397.3 kB / 0.8144 GB, free: 33.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.636, allocations: 7.078 kB / 0.8144 GB, free: 33.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003374/0.6394, allocations: 3.757 MB / 0.8181 GB, free: 30.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6394, allocations: 1.25 kB / 0.8181 GB, free: 30.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.641, allocations: 0.8289 MB / 0.8189 GB, free: 30.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.6411, allocations: 144.3 kB / 0.819 GB, free: 30.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.6412, allocations: 15.52 kB / 0.8191 GB, free: 30.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.6415, allocations: 36.81 kB / 0.8191 GB, free: 30.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.6416, allocations: 22.05 kB / 0.8191 GB, free: 30.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.6416, allocations: 11.45 kB / 0.8191 GB, free: 30.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002173/0.6419, allocations: 228.7 kB / 0.8193 GB, free: 30.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6419, allocations: 1.125 kB / 0.8193 GB, free: 30.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008662/0.6427, allocations: 191.9 kB / 0.8195 GB, free: 30.19 MB / 0.6544 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.0001274/0.6429, allocations: 109.3 kB / 0.8196 GB, free: 30.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.6444, allocations: 0.966 MB / 0.8206 GB, free: 29.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6444, allocations: 0 / 0.8206 GB, free: 29.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006481/0.6451, allocations: 479.7 kB / 0.821 GB, free: 29.33 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.6456, allocations: 78.48 kB / 0.8211 GB, free: 29.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.6467, allocations: 0.7946 MB / 0.8219 GB, free: 28.85 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.647, allocations: 0.8466 MB / 0.8227 GB, free: 28.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.509e-05/0.6471, allocations: 35.33 kB / 0.8227 GB, free: 28.12 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6471, allocations: 0 / 0.8227 GB, free: 28.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.01244/0.6596, allocations: 8.312 MB / 0.8309 GB, free: 27.62 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)