Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.002008/0.002008, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002069/0.002069, allocations: 193.5 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 472.6 MB / 0.7447 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.91 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3681, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006879/0.375, allocations: 4.667 MB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003992/0.3791, allocations: 2.376 MB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.3794, allocations: 11.94 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.3808, allocations: 0.5178 MB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006969/0.3815, allocations: 274.9 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009024/0.3825, allocations: 311.4 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009814/0.3834, allocations: 0.8026 MB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007509/0.3842, allocations: 384.1 kB / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.3847, allocations: 203.2 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006882/0.3854, allocations: 291 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.354e-05/0.3855, allocations: 28 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007406/0.3862, allocations: 331.4 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.3865, allocations: 167.6 kB / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.3868, allocations: 203 kB / 1.078 GB, free: 276 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009699/0.3878, allocations: 0.6542 MB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3878, allocations: 8 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3878, allocations: 0 / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.301e-05/0.3878, allocations: 0 / 1.078 GB, free: 15.61 MB / 0.8419 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.001611/0.3894, allocations: 0.7214 MB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3895, allocations: 8.031 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.3909, allocations: 168.2 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.3915, allocations: 312.6 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.3915, allocations: 29.38 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.803e-05/0.3916, allocations: 32.38 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.3928, allocations: 0.6419 MB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.3928, allocations: 7.844 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/0.3929, allocations: 24 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.393, allocations: 40.62 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000957/0.3939, allocations: 486.1 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004802/0.3987, allocations: 3.428 MB / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.3996, allocations: 386.7 kB / 1.085 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.3999, allocations: 169.6 kB / 1.085 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.4, allocations: 4 kB / 1.085 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.874e-05/0.4001, allocations: 38.56 kB / 1.085 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 3.537e-06/0.4001, allocations: 0 / 1.085 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.005166/0.4053, allocations: 1.459 MB / 1.086 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.4054, allocations: 81.11 kB / 1.086 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.4059, allocations: 336.4 kB / 1.087 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.406, allocations: 25.7 kB / 1.087 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.4061, allocations: 267.3 kB / 1.087 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.945e-05/0.4063, allocations: 98.58 kB / 1.087 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.4064, allocations: 98.16 kB / 1.087 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4066, allocations: 342.8 kB / 1.087 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.4069, allocations: 187 kB / 1.088 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/0.4076, allocations: 352.5 kB / 1.088 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.4087, allocations: 0.5318 MB / 1.088 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.4087, allocations: 8 kB / 1.088 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003436/0.4121, allocations: 0.9237 MB / 1.089 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.4122, allocations: 4 kB / 1.089 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.4122, allocations: 8 kB / 1.089 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003102/0.4153, allocations: 0.5053 MB / 1.09 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.4159, allocations: 103.8 kB / 1.09 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007669/0.4236, allocations: 3.762 MB / 1.094 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007066/0.4243, allocations: 47.86 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/0.4244, allocations: 28 kB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006938/0.4251, allocations: 313 kB / 1.094 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006356/0.4258, allocations: 335.8 kB / 1.094 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001041/0.4269, allocations: 0.5075 MB / 1.095 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.709e-06/0.4269, allocations: 0 / 1.095 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001403/0.4283, allocations: 0.5477 MB / 1.095 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4283, allocations: 4 kB / 1.095 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.4283, allocations: 8 kB / 1.095 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4284, allocations: 8 kB / 1.095 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.429, allocations: 115.8 kB / 1.095 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/0.429, allocations: 12.41 kB / 1.095 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/0.4297, allocations: 47.75 kB / 1.096 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.4298, allocations: 20 kB / 1.096 GB, free: 12.95 MB / 0.8575 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.0003335/0.4301, allocations: 219.9 kB / 1.096 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.4303, allocations: 31.62 kB / 1.096 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.4328, allocations: 0.6668 MB / 1.096 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.4328, allocations: 4 kB / 1.096 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4328, allocations: 0 / 1.096 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.4328, allocations: 3.984 kB / 1.096 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.4346, allocations: 0.6598 MB / 1.097 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4346, allocations: 4 kB / 1.097 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.4349, allocations: 51.83 kB / 1.097 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/0.437, allocations: 401.2 kB / 1.097 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.4371, allocations: 8 kB / 1.098 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005569/0.4427, allocations: 3.478 MB / 1.101 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4427, allocations: 0 / 1.101 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.445, allocations: 0.8275 MB / 1.102 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.4453, allocations: 144.6 kB / 1.102 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/0.4454, allocations: 4 kB / 1.102 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.4459, allocations: 39.94 kB / 1.102 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.446, allocations: 23.97 kB / 1.102 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.4461, allocations: 8 kB / 1.102 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000386/0.4465, allocations: 239 kB / 1.102 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4465, allocations: 0 / 1.102 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001012/0.4475, allocations: 196.1 kB / 1.102 GB, free: 5.562 MB / 0.8575 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.0002191/0.4477, allocations: 123.5 kB / 1.102 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002114/0.4499, allocations: 0.9755 MB / 1.103 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4499, allocations: 0 / 1.103 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009772/0.4509, allocations: 481.1 kB / 1.104 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008446/0.4517, allocations: 71.31 kB / 1.104 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.4538, allocations: 0.9068 MB / 1.105 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.4544, allocations: 0.8509 MB / 1.106 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007329/0.4552, allocations: 155.1 kB / 1.106 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.4553, allocations: 27.42 kB / 1.106 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.4553, allocations: 0 / 1.106 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of Templates: time 0.01829/0.4736, allocations: 6.979 MB / 1.113 GB, free: 10.93 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)