Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001661/0.001661, 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.002035/0.002035, allocations: 195.2 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 64.86 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3749, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006691/0.3817, allocations: 4.638 MB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004181/0.3859, allocations: 2.365 MB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.3862, allocations: 15.94 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.3878, allocations: 0.5369 MB / 1.076 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007977/0.3886, allocations: 298.6 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000959/0.3896, allocations: 343.2 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.3902, allocations: 0.5607 MB / 1.077 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.3908, allocations: 368 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.3911, allocations: 235.2 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.3915, allocations: 279.1 kB / 1.078 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.3916, allocations: 39.94 kB / 1.078 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000562/0.3922, allocations: 279.5 kB / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.3924, allocations: 171.6 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.3926, allocations: 214.9 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006936/0.3933, allocations: 0.6581 MB / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.3933, allocations: 0 / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3933, allocations: 3.938 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.3933, allocations: 0 / 1.079 GB, free: 15.46 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.00118/0.3945, allocations: 0.7215 MB / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3946, allocations: 8.031 kB / 1.08 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.3958, allocations: 156.2 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.3962, allocations: 328.5 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.3962, allocations: 25.36 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.682e-05/0.3963, allocations: 36.38 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/0.3973, allocations: 0.638 MB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.3973, allocations: 11.84 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.3973, allocations: 15.98 kB / 1.081 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.304e-05/0.3974, allocations: 36.64 kB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/0.3982, allocations: 0.4903 MB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004442/0.4027, allocations: 3.436 MB / 1.085 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/0.4035, allocations: 374.4 kB / 1.085 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.4038, allocations: 177.6 kB / 1.085 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.4038, allocations: 0 / 1.085 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.4039, allocations: 38.56 kB / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/0.4039, allocations: 4 kB / 1.085 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004983/0.4089, allocations: 1.454 MB / 1.087 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.409, allocations: 85.05 kB / 1.087 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.4096, allocations: 332.4 kB / 1.087 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.4096, allocations: 29.7 kB / 1.087 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.4099, allocations: 263.2 kB / 1.087 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.41, allocations: 98.66 kB / 1.087 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.4102, allocations: 90.14 kB / 1.087 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.4105, allocations: 338.8 kB / 1.088 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.4108, allocations: 198.9 kB / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.4113, allocations: 350.1 kB / 1.088 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007857/0.4121, allocations: 0.5396 MB / 1.089 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4121, allocations: 0 / 1.089 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002395/0.4145, allocations: 0.9199 MB / 1.09 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.4146, allocations: 8 kB / 1.09 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4146, allocations: 4 kB / 1.09 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/0.4168, allocations: 0.509 MB / 1.09 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.4173, allocations: 91.88 kB / 1.09 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/0.4228, allocations: 4.058 MB / 1.094 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.4233, allocations: 55.86 kB / 1.094 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.4233, allocations: 20 kB / 1.094 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000452/0.4238, allocations: 305.1 kB / 1.095 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003866/0.4242, allocations: 332.5 kB / 1.095 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006171/0.4248, allocations: 0.5145 MB / 1.095 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.4248, allocations: 0 / 1.095 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008687/0.4257, allocations: 0.5397 MB / 1.096 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4257, allocations: 12.92 kB / 1.096 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4257, allocations: 4 kB / 1.096 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.006e-06/0.4257, allocations: 12.62 kB / 1.096 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/0.4262, allocations: 115.8 kB / 1.096 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4262, allocations: 11.98 kB / 1.096 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.4266, allocations: 47.75 kB / 1.096 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.4266, allocations: 27.94 kB / 1.096 GB, free: 12.51 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.0001749/0.4268, allocations: 208.1 kB / 1.096 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.4269, allocations: 31.62 kB / 1.096 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.4285, allocations: 0.6747 MB / 1.097 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4285, allocations: 4 kB / 1.097 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4286, allocations: 0 / 1.097 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.4286, allocations: 7.922 kB / 1.097 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000906/0.4295, allocations: 0.6637 MB / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4295, allocations: 0 / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.4297, allocations: 43.91 kB / 1.098 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.4312, allocations: 397.3 kB / 1.098 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.4312, allocations: 12 kB / 1.098 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00385/0.4351, allocations: 3.757 MB / 1.102 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4351, allocations: 4.062 kB / 1.102 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.4367, allocations: 0.8271 MB / 1.103 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.4368, allocations: 144.6 kB / 1.103 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.4369, allocations: 8 kB / 1.103 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.4373, allocations: 39.92 kB / 1.103 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.4373, allocations: 23.97 kB / 1.103 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4374, allocations: 8 kB / 1.103 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002738/0.4377, allocations: 235 kB / 1.103 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4377, allocations: 0 / 1.103 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009809/0.4386, allocations: 196 kB / 1.103 GB, free: 4.836 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.0001975/0.4389, allocations: 112 kB / 1.103 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.4407, allocations: 1.015 MB / 1.104 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4408, allocations: 0 / 1.104 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007259/0.4415, allocations: 493.1 kB / 1.105 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/0.4421, allocations: 81.62 kB / 1.105 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.4435, allocations: 0.7551 MB / 1.106 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.4439, allocations: 0.8507 MB / 1.107 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000418/0.4444, allocations: 147.1 kB / 1.107 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.4444, allocations: 31.42 kB / 1.107 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.4444, allocations: 0 / 1.107 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of Templates: time 0.01261/0.4571, allocations: 7.353 MB / 1.114 GB, free: 9.938 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)