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.001487/0.001487, allocations: 101 kB / 16.27 MB, free: 6.418 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.001603/0.001603, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.338/1.338, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.743/1.743, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001476/0.001476, allocations: 72.22 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2277, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.3569/0.5847, allocations: 4.615 MB / 0.7885 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003153/0.5879, allocations: 2.211 MB / 0.7907 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.5882, allocations: 7.625 kB / 0.7907 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.5897, allocations: 0.5413 MB / 0.7912 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006702/0.5904, allocations: 273.7 kB / 0.7915 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008315/0.5912, allocations: 342.3 kB / 0.7918 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000608/0.5918, allocations: 0.5569 MB / 0.7924 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004699/0.5923, allocations: 370.5 kB / 0.7927 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.5926, allocations: 228.2 kB / 0.7929 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.593, allocations: 283.1 kB / 0.7932 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.593, allocations: 36.09 kB / 0.7932 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004143/0.5934, allocations: 263.7 kB / 0.7935 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.5936, allocations: 174.5 kB / 0.7937 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.5938, allocations: 214.6 kB / 0.7939 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.5943, allocations: 0.6373 MB / 0.7945 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5943, allocations: 0 / 0.7945 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5943, allocations: 0.5938 kB / 0.7945 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.5944, allocations: 0.75 kB / 0.7945 GB, free: 45.45 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.001015/0.5954, allocations: 0.7153 MB / 0.7952 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.5954, allocations: 7.188 kB / 0.7952 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/0.5964, allocations: 137 kB / 0.7953 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.5967, allocations: 320.8 kB / 0.7956 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.5968, allocations: 32.98 kB / 0.7957 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.5968, allocations: 33.69 kB / 0.7957 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007108/0.5975, allocations: 0.6305 MB / 0.7963 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.5976, allocations: 4.469 kB / 0.7963 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.5976, allocations: 21.45 kB / 0.7963 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/0.5977, allocations: 44.11 kB / 0.7964 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.5983, allocations: 473.5 kB / 0.7968 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.601, allocations: 3.414 MB / 0.8002 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.6017, allocations: 386.8 kB / 0.8005 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.6019, allocations: 167.6 kB / 0.8007 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.6019, allocations: 8.328 kB / 0.8007 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.6019, allocations: 34.23 kB / 0.8007 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.615e-06/0.602, allocations: 0 / 0.8007 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26): time 0.004567/0.6065, allocations: 1.462 MB / 0.8022 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.6066, allocations: 82.67 kB / 0.8022 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.607, allocations: 326.8 kB / 0.8026 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.607, allocations: 35.33 kB / 0.8026 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.6071, allocations: 260.3 kB / 0.8028 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.6072, allocations: 87.64 kB / 0.8029 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.6073, allocations: 94.56 kB / 0.803 GB, free: 40.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.6074, allocations: 339.1 kB / 0.8033 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.6077, allocations: 190.3 kB / 0.8035 GB, free: 40.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.608, allocations: 342.7 kB / 0.8038 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.6087, allocations: 0.5313 MB / 0.8044 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6087, allocations: 1.375 kB / 0.8044 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002461/0.6112, allocations: 0.9101 MB / 0.8053 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.6112, allocations: 7.938 kB / 0.8053 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.6112, allocations: 5.312 kB / 0.8053 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/0.6137, allocations: 0.5111 MB / 0.8058 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.6141, allocations: 88.84 kB / 0.8058 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005576/0.6197, allocations: 4.061 MB / 0.8098 GB, free: 36.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.6203, allocations: 42.62 kB / 0.8099 GB, free: 36.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.6203, allocations: 22.98 kB / 0.8099 GB, free: 36.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005004/0.6209, allocations: 297.8 kB / 0.8102 GB, free: 35.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003285/0.6212, allocations: 327.7 kB / 0.8105 GB, free: 35.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005477/0.6217, allocations: 0.5005 MB / 0.811 GB, free: 35.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/0.6218, allocations: 1.844 kB / 0.811 GB, free: 35.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008097/0.6226, allocations: 0.535 MB / 0.8115 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6226, allocations: 7.828 kB / 0.8115 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.6226, allocations: 6.531 kB / 0.8115 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6226, allocations: 13.62 kB / 0.8115 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.623, allocations: 115 kB / 0.8116 GB, free: 35.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.6231, allocations: 9.328 kB / 0.8116 GB, free: 35.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/0.6234, allocations: 32.2 kB / 0.8117 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.6234, allocations: 23.03 kB / 0.8117 GB, free: 35.03 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.0001403/0.6235, allocations: 215.8 kB / 0.8119 GB, free: 34.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/0.6236, allocations: 32.3 kB / 0.8119 GB, free: 34.81 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.6254, allocations: 0.6735 MB / 0.8126 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6254, allocations: 3.844 kB / 0.8126 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.6255, allocations: 7.875 kB / 0.8126 GB, free: 34.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.6255, allocations: 2.688 kB / 0.8126 GB, free: 34.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.6263, allocations: 0.6492 MB / 0.8132 GB, free: 34.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6263, allocations: 1.062 kB / 0.8132 GB, free: 34.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.6266, allocations: 49.31 kB / 0.8133 GB, free: 34.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/0.6282, allocations: 401.8 kB / 0.8137 GB, free: 34.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.6282, allocations: 7.234 kB / 0.8137 GB, free: 34.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003827/0.632, allocations: 3.763 MB / 0.8173 GB, free: 30.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6321, allocations: 1.312 kB / 0.8173 GB, free: 30.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.6339, allocations: 0.8265 MB / 0.8181 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.6341, allocations: 142.3 kB / 0.8183 GB, free: 30.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.6342, allocations: 8.781 kB / 0.8183 GB, free: 30.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.6346, allocations: 37.23 kB / 0.8183 GB, free: 30.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.6347, allocations: 27.53 kB / 0.8184 GB, free: 30.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.6347, allocations: 5.719 kB / 0.8184 GB, free: 30.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002709/0.635, allocations: 230.5 kB / 0.8186 GB, free: 30.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.635, allocations: 4 kB / 0.8186 GB, free: 30.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009569/0.636, allocations: 192.6 kB / 0.8188 GB, free: 30.29 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.0001379/0.6361, allocations: 113.6 kB / 0.8189 GB, free: 30.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.6378, allocations: 0.9913 MB / 0.8198 GB, free: 29.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6378, allocations: 0.6875 kB / 0.8198 GB, free: 29.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006968/0.6385, allocations: 486.8 kB / 0.8203 GB, free: 29.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.6392, allocations: 79.44 kB / 0.8204 GB, free: 29.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.6405, allocations: 0.7942 MB / 0.8212 GB, free: 28.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.6409, allocations: 0.8544 MB / 0.822 GB, free: 28.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.641, allocations: 31.42 kB / 0.822 GB, free: 28.2 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.641, allocations: 0 / 0.822 GB, free: 28.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.01455/0.6555, allocations: 8.317 MB / 0.8301 GB, free: 27.69 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)