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.001379/0.001378, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001549/0.001549, allocations: 196.3 kB / 16.14 MB, free: 6.66 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 58.38 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3847, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006733/0.3914, allocations: 4.671 MB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004739/0.3962, allocations: 2.38 MB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.3965, allocations: 4 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.3982, allocations: 0.517 MB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007604/0.399, allocations: 278.9 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000969/0.3999, allocations: 307.4 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008492/0.4008, allocations: 0.8103 MB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000656/0.4015, allocations: 380.2 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.4018, allocations: 199.3 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.4023, allocations: 290.9 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.4023, allocations: 28 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000633/0.403, allocations: 331.4 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.4032, allocations: 167.6 kB / 1.078 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.4034, allocations: 199 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008195/0.4042, allocations: 0.662 MB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4043, allocations: 0 / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.707e-06/0.4043, allocations: 0 / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.4043, allocations: 3.938 kB / 1.078 GB, free: 15.71 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.001545/0.4058, allocations: 0.7215 MB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.4059, allocations: 12.03 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.4072, allocations: 152.2 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.4077, allocations: 324.5 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.4078, allocations: 33.36 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.321e-05/0.4079, allocations: 40.38 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.409, allocations: 0.6327 MB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.409, allocations: 7.844 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.4091, allocations: 19.98 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.27e-05/0.4092, allocations: 40.64 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009011/0.4101, allocations: 494.1 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004482/0.4146, allocations: 3.42 MB / 1.084 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.4155, allocations: 384.9 kB / 1.085 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.4158, allocations: 173.6 kB / 1.085 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.298e-05/0.4159, allocations: 7.984 kB / 1.085 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.416, allocations: 34.56 kB / 1.085 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.996e-06/0.416, allocations: 0 / 1.085 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004997/0.421, allocations: 1.458 MB / 1.086 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.421, allocations: 85.11 kB / 1.086 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.4215, allocations: 340.3 kB / 1.087 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.4216, allocations: 33.64 kB / 1.087 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.4218, allocations: 259.3 kB / 1.087 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.453e-05/0.4219, allocations: 98.58 kB / 1.087 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.422, allocations: 98.14 kB / 1.087 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4222, allocations: 342.8 kB / 1.087 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.4226, allocations: 191 kB / 1.088 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.4231, allocations: 350 kB / 1.088 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008222/0.4239, allocations: 0.5396 MB / 1.088 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4239, allocations: 0 / 1.088 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002592/0.4265, allocations: 0.9202 MB / 1.089 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.4266, allocations: 9.094 kB / 1.089 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.4266, allocations: 4 kB / 1.089 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.429, allocations: 0.497 MB / 1.09 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.4295, allocations: 99.81 kB / 1.09 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/0.4354, allocations: 3.786 MB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/0.436, allocations: 43.8 kB / 1.094 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.436, allocations: 20 kB / 1.094 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005158/0.4366, allocations: 317 kB / 1.094 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004153/0.437, allocations: 336.4 kB / 1.094 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006846/0.4377, allocations: 0.5074 MB / 1.095 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.14e-06/0.4377, allocations: 4 kB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009795/0.4387, allocations: 0.5364 MB / 1.095 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4387, allocations: 9.406 kB / 1.095 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4387, allocations: 8.094 kB / 1.095 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.4387, allocations: 12 kB / 1.095 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.4392, allocations: 107.8 kB / 1.095 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.4392, allocations: 15.92 kB / 1.095 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.4396, allocations: 43.81 kB / 1.096 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.4397, allocations: 20 kB / 1.096 GB, free: 13.06 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.0002105/0.4399, allocations: 220.5 kB / 1.096 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.44, allocations: 35.61 kB / 1.096 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.4419, allocations: 0.6592 MB / 1.096 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4419, allocations: 4 kB / 1.096 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.4419, allocations: 4 kB / 1.096 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.4419, allocations: 7.984 kB / 1.096 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.443, allocations: 0.6635 MB / 1.097 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.443, allocations: 0 / 1.097 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.4432, allocations: 43.97 kB / 1.097 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.4448, allocations: 397.3 kB / 1.097 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.4449, allocations: 11.98 kB / 1.098 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/0.4492, allocations: 3.478 MB / 1.101 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.4493, allocations: 4.031 kB / 1.101 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.451, allocations: 0.8308 MB / 1.102 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.4512, allocations: 136.6 kB / 1.102 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.4512, allocations: 11.98 kB / 1.102 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.4516, allocations: 39.94 kB / 1.102 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.4517, allocations: 19.97 kB / 1.102 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.4518, allocations: 12 kB / 1.102 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003286/0.4521, allocations: 235 kB / 1.102 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4521, allocations: 0 / 1.102 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009645/0.4531, allocations: 196.1 kB / 1.102 GB, free: 5.668 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.0002252/0.4533, allocations: 119.1 kB / 1.102 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.4552, allocations: 0.9718 MB / 1.103 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4553, allocations: 0 / 1.103 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007875/0.4561, allocations: 485.3 kB / 1.104 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.4567, allocations: 70.72 kB / 1.104 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.4582, allocations: 0.9126 MB / 1.105 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.4587, allocations: 0.8509 MB / 1.106 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004776/0.4592, allocations: 139.1 kB / 1.106 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.4593, allocations: 35.38 kB / 1.106 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.4593, allocations: 0 / 1.106 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of Templates: time 0.01283/0.4721, allocations: 6.977 MB / 1.113 GB, free: 11.04 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)