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.001195/0.001195, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.546/1.546, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.177/3.177, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.88 kB / 0.912 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3822, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.008663/0.3909, allocations: 4.645 MB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004558/0.3955, allocations: 2.361 MB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000436/0.3959, allocations: 11.94 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.3978, allocations: 0.5439 MB / 1.076 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009965/0.3988, allocations: 294.6 kB / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.3999, allocations: 359.1 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009097/0.4008, allocations: 0.5568 MB / 1.077 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000687/0.4015, allocations: 372 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.402, allocations: 235.2 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006498/0.4027, allocations: 275 kB / 1.078 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.4028, allocations: 36 kB / 1.078 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.4035, allocations: 283.5 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.4037, allocations: 179.5 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.4041, allocations: 215 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.4051, allocations: 0.6542 MB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4051, allocations: 3.938 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4051, allocations: 0 / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.397e-05/0.4052, allocations: 4 kB / 1.079 GB, free: 15.39 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.001618/0.4068, allocations: 0.7098 MB / 1.08 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4069, allocations: 12.03 kB / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.4082, allocations: 164.2 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.4087, allocations: 320.5 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.4087, allocations: 29.36 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/0.4088, allocations: 36.38 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4098, allocations: 0.6341 MB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.4099, allocations: 3.906 kB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/0.4099, allocations: 19.98 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.622e-05/0.41, allocations: 44.62 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008516/0.4109, allocations: 498 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.4146, allocations: 3.432 MB / 1.085 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.4153, allocations: 378.8 kB / 1.085 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.4156, allocations: 173.6 kB / 1.085 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.4156, allocations: 11.92 kB / 1.085 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.4157, allocations: 38.56 kB / 1.085 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 3.196e-06/0.4157, allocations: 0 / 1.085 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004552/0.4202, allocations: 1.454 MB / 1.087 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.4203, allocations: 85.11 kB / 1.087 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.4207, allocations: 336.4 kB / 1.087 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.4208, allocations: 29.7 kB / 1.087 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.421, allocations: 259.2 kB / 1.087 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/0.421, allocations: 94.64 kB / 1.087 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.4212, allocations: 98.14 kB / 1.087 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4214, allocations: 342.8 kB / 1.088 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.4217, allocations: 187 kB / 1.088 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.4221, allocations: 350 kB / 1.088 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/0.4229, allocations: 0.5474 MB / 1.089 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4229, allocations: 0 / 1.089 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002381/0.4253, allocations: 0.9159 MB / 1.09 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4253, allocations: 11.98 kB / 1.09 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4253, allocations: 4 kB / 1.09 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.4276, allocations: 0.5052 MB / 1.09 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.428, allocations: 95.88 kB / 1.09 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/0.4337, allocations: 4.054 MB / 1.094 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.4342, allocations: 47.8 kB / 1.094 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.4343, allocations: 23.98 kB / 1.094 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004559/0.4348, allocations: 305.1 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003964/0.4352, allocations: 331.8 kB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006372/0.4358, allocations: 0.5106 MB / 1.095 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.518e-06/0.4358, allocations: 4 kB / 1.095 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009048/0.4367, allocations: 0.5396 MB / 1.096 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4368, allocations: 8 kB / 1.096 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4368, allocations: 8.781 kB / 1.096 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.4368, allocations: 11.94 kB / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.4372, allocations: 115.8 kB / 1.096 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.4373, allocations: 8 kB / 1.096 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.4377, allocations: 39.81 kB / 1.096 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.4377, allocations: 24.12 kB / 1.096 GB, free: 12.46 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.0001883/0.4379, allocations: 212 kB / 1.096 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/0.438, allocations: 47.55 kB / 1.096 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.4397, allocations: 0.6718 MB / 1.097 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4397, allocations: 4 kB / 1.097 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4397, allocations: 7.938 kB / 1.097 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4397, allocations: 0 / 1.097 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009504/0.4407, allocations: 0.6597 MB / 1.098 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.4407, allocations: 0 / 1.098 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.4409, allocations: 51.91 kB / 1.098 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.4424, allocations: 401.3 kB / 1.098 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.4425, allocations: 4 kB / 1.098 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004096/0.4466, allocations: 3.757 MB / 1.102 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4466, allocations: 4.031 kB / 1.102 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.4482, allocations: 0.8221 MB / 1.103 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.4484, allocations: 144.6 kB / 1.103 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.4485, allocations: 8 kB / 1.103 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.4489, allocations: 39.94 kB / 1.103 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.449, allocations: 23.91 kB / 1.103 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.449, allocations: 12 kB / 1.103 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000309/0.4493, allocations: 235 kB / 1.103 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4493, allocations: 0 / 1.103 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000945/0.4503, allocations: 200 kB / 1.103 GB, free: 4.766 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.0002021/0.4505, allocations: 113.2 kB / 1.103 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.4524, allocations: 1.007 MB / 1.104 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.4524, allocations: 8.25 kB / 1.104 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007478/0.4531, allocations: 485 kB / 1.105 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/0.4538, allocations: 82.03 kB / 1.105 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.4552, allocations: 0.7567 MB / 1.106 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.4557, allocations: 0.8468 MB / 1.107 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004569/0.4562, allocations: 143.2 kB / 1.107 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.4563, allocations: 31.44 kB / 1.107 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.4563, allocations: 0 / 1.107 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of Templates: time 0.01354/0.4698, allocations: 7.358 MB / 1.114 GB, free: 9.875 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)