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.008615/0.008621, allocations: 107.8 kB / 15.7 MB, free: 5.574 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.001741/0.001741, allocations: 194.5 kB / 16.64 MB, free: 5.52 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.487/1.487, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.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.549 GB, free: 12.76 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.001504/0.001504, allocations: 69.84 kB / 0.6723 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2413, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006872/0.2482, allocations: 4.628 MB / 0.7886 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003636/0.2519, allocations: 2.225 MB / 0.7908 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.2521, allocations: 8 kB / 0.7908 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.2536, allocations: 0.5361 MB / 0.7913 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005408/0.2541, allocations: 266.7 kB / 0.7916 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/0.255, allocations: 355.1 kB / 0.7919 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005674/0.2556, allocations: 0.5568 MB / 0.7925 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005753/0.2562, allocations: 371.8 kB / 0.7928 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.2565, allocations: 239.1 kB / 0.7931 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.257, allocations: 275 kB / 0.7933 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.257, allocations: 36 kB / 0.7934 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.2574, allocations: 247.6 kB / 0.7936 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.2576, allocations: 187.4 kB / 0.7938 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.2579, allocations: 215 kB / 0.794 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006986/0.2586, allocations: 0.6385 MB / 0.7946 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2586, allocations: 0 / 0.7946 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2586, allocations: 4 kB / 0.7946 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2586, allocations: 4 kB / 0.7946 GB, free: 1.949 MB / 0.6075 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.001142/0.2598, allocations: 0.7097 MB / 0.7953 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2598, allocations: 8.031 kB / 0.7953 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009947/0.2608, allocations: 140.2 kB / 0.7955 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.2613, allocations: 336.5 kB / 0.7958 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.2613, allocations: 25.38 kB / 0.7958 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.2614, allocations: 48.27 kB / 0.7958 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/0.2623, allocations: 0.6147 MB / 0.7964 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.2623, allocations: 11.88 kB / 0.7965 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.2623, allocations: 20 kB / 0.7965 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.638e-05/0.2624, allocations: 40.64 kB / 0.7965 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006918/0.2631, allocations: 474.1 kB / 0.797 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/0.2669, allocations: 3.405 MB / 0.8003 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.2676, allocations: 382.2 kB / 0.8007 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.2679, allocations: 173.6 kB / 0.8008 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.2679, allocations: 4.406 kB / 0.8008 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.2679, allocations: 30.56 kB / 0.8009 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.268, allocations: 0 / 0.8009 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004478/0.2724, allocations: 1.459 MB / 0.8023 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.2725, allocations: 85.09 kB / 0.8024 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.2729, allocations: 328.4 kB / 0.8027 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.2729, allocations: 33.7 kB / 0.8027 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.2731, allocations: 263.2 kB / 0.803 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.2732, allocations: 94.66 kB / 0.803 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.2733, allocations: 86.16 kB / 0.8031 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2735, allocations: 342.8 kB / 0.8035 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.2737, allocations: 183 kB / 0.8036 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.2741, allocations: 346.1 kB / 0.804 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/0.2748, allocations: 0.5291 MB / 0.8045 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2748, allocations: 4 kB / 0.8045 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002197/0.277, allocations: 0.9159 MB / 0.8054 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.277, allocations: 8 kB / 0.8054 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.277, allocations: 4 kB / 0.8054 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/0.2792, allocations: 0.5013 MB / 0.8059 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.2796, allocations: 99.81 kB / 0.806 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005567/0.2852, allocations: 4.05 MB / 0.8099 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.2856, allocations: 35.91 kB / 0.81 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.2856, allocations: 27.98 kB / 0.81 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004053/0.286, allocations: 297.1 kB / 0.8103 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003293/0.2864, allocations: 332.4 kB / 0.8106 GB, free: 500 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005645/0.2869, allocations: 0.5095 MB / 0.8111 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.287, allocations: 8 kB / 0.8111 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007348/0.2877, allocations: 0.5207 MB / 0.8116 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2877, allocations: 8 kB / 0.8116 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2877, allocations: 8 kB / 0.8116 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.2878, allocations: 11.94 kB / 0.8116 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.2881, allocations: 107.8 kB / 0.8117 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2882, allocations: 11.94 kB / 0.8117 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.2885, allocations: 39.81 kB / 0.8118 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.2885, allocations: 20 kB / 0.8118 GB, free: 15.16 MB / 0.6387 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.0001559/0.2887, allocations: 214.7 kB / 0.812 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.683e-05/0.2888, allocations: 39.61 kB / 0.812 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.2904, allocations: 0.6649 MB / 0.8127 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2904, allocations: 4 kB / 0.8127 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.2904, allocations: 4 kB / 0.8127 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2905, allocations: 7.984 kB / 0.8127 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009013/0.2914, allocations: 0.652 MB / 0.8133 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2914, allocations: 4 kB / 0.8133 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.2916, allocations: 43.97 kB / 0.8134 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.293, allocations: 401.2 kB / 0.8138 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.2931, allocations: 8 kB / 0.8138 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00421/0.2973, allocations: 3.753 MB / 0.8174 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2973, allocations: 7.969 kB / 0.8174 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.2989, allocations: 0.8183 MB / 0.8182 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.2991, allocations: 144.6 kB / 0.8184 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.2991, allocations: 8 kB / 0.8184 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.2995, allocations: 35.94 kB / 0.8184 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.2995, allocations: 28.09 kB / 0.8185 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.2996, allocations: 4 kB / 0.8185 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000235/0.2998, allocations: 235 kB / 0.8187 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2998, allocations: 0 / 0.8187 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008614/0.3007, allocations: 192 kB / 0.8189 GB, free: 7.504 MB / 0.6387 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.0002066/0.3009, allocations: 126.2 kB / 0.819 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.3026, allocations: 0.9639 MB / 0.8199 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3026, allocations: 4 kB / 0.8199 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007028/0.3033, allocations: 485.7 kB / 0.8204 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.3039, allocations: 82 kB / 0.8205 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.3052, allocations: 0.742 MB / 0.8212 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.3056, allocations: 0.8507 MB / 0.822 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003386/0.3059, allocations: 143.1 kB / 0.8222 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.306, allocations: 31.42 kB / 0.8222 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.306, allocations: 0 / 0.8222 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of Templates: time 0.01194/0.318, allocations: 7.234 MB / 0.8293 GB, free: 12.78 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)