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.001165/0.001165, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008609/0.008609, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004022, allocations: 11.34 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3675, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.00543/0.3729, allocations: 4.285 MB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003841/0.3768, allocations: 2.349 MB / 1.081 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.377, allocations: 4 kB / 1.081 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.3773, allocations: 63.48 kB / 1.081 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000659/0.3779, allocations: 270.9 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000793/0.3787, allocations: 322 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007921/0.3795, allocations: 0.8103 MB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.3807, allocations: 0.6529 MB / 1.083 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.381, allocations: 183.2 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.3814, allocations: 263 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.3815, allocations: 20 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.382, allocations: 323.4 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.3822, allocations: 155.6 kB / 1.084 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.3824, allocations: 216.6 kB / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006447/0.383, allocations: 0.6426 MB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.383, allocations: 4 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.594e-06/0.383, allocations: 4 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3831, allocations: 3.938 kB / 1.084 GB, free: 12.91 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.0009649/0.384, allocations: 0.6318 MB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.3841, allocations: 8.031 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.3852, allocations: 160.3 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.3856, allocations: 328.4 kB / 1.086 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.3856, allocations: 29.31 kB / 1.086 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.3857, allocations: 36.36 kB / 1.086 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009086/0.3866, allocations: 0.638 MB / 1.086 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3867, allocations: 4 kB / 1.086 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.3867, allocations: 12 kB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.413e-05/0.3868, allocations: 52.61 kB / 1.086 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000804/0.3876, allocations: 498.1 kB / 1.087 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.3911, allocations: 3.44 MB / 1.09 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.3918, allocations: 369 kB / 1.09 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.3921, allocations: 177.6 kB / 1.091 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.3921, allocations: 4 kB / 1.091 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3921, allocations: 38.56 kB / 1.091 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.3921, allocations: 0 / 1.091 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004694/0.3968, allocations: 1.466 MB / 1.092 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.3969, allocations: 85.09 kB / 1.092 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.3973, allocations: 336.3 kB / 1.092 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.3974, allocations: 29.7 kB / 1.093 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.3975, allocations: 263.3 kB / 1.093 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.3976, allocations: 94.73 kB / 1.093 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/0.3977, allocations: 45.69 kB / 1.093 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3978, allocations: 338.8 kB / 1.093 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.3981, allocations: 185 kB / 1.093 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.3986, allocations: 342.1 kB / 1.094 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.3993, allocations: 0.5513 MB / 1.094 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3993, allocations: 4 kB / 1.094 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002397/0.4017, allocations: 0.912 MB / 1.095 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002273/0.4019, allocations: 254.6 kB / 1.095 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.402, allocations: 8 kB / 1.095 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.4044, allocations: 0.4971 MB / 1.096 GB, free: 356 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.4049, allocations: 103.8 kB / 1.096 GB, free: 252 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00552/0.4104, allocations: 3.79 MB / 1.1 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.411, allocations: 47.8 kB / 1.1 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.411, allocations: 24.06 kB / 1.1 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.4111, allocations: 8 kB / 1.1 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008281/0.4119, allocations: 0.492 MB / 1.1 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4119, allocations: 4 kB / 1.1 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/0.4119, allocations: 8 kB / 1.1 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.4123, allocations: 111.8 kB / 1.1 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.4123, allocations: 11.98 kB / 1.1 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.4127, allocations: 36.19 kB / 1.1 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.4127, allocations: 27.94 kB / 1.1 GB, free: 11.42 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.0002798/0.413, allocations: 272.8 kB / 1.101 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.4131, allocations: 35.62 kB / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.4148, allocations: 0.6741 MB / 1.101 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.4148, allocations: 4 kB / 1.101 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4148, allocations: 3.984 kB / 1.101 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.4148, allocations: 4 kB / 1.101 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009035/0.4157, allocations: 0.6597 MB / 1.102 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4157, allocations: 0 / 1.102 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.4159, allocations: 51.89 kB / 1.102 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.4174, allocations: 409.3 kB / 1.102 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.4174, allocations: 8 kB / 1.103 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003747/0.4212, allocations: 3.47 MB / 1.106 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4212, allocations: 4 kB / 1.106 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.4229, allocations: 0.8242 MB / 1.107 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.4231, allocations: 148.6 kB / 1.107 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.4231, allocations: 8 kB / 1.107 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.4235, allocations: 39.94 kB / 1.107 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.4236, allocations: 27.91 kB / 1.107 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.4236, allocations: 8 kB / 1.107 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002883/0.4239, allocations: 235 kB / 1.107 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4239, allocations: 0 / 1.107 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009105/0.4248, allocations: 192 kB / 1.107 GB, free: 3.965 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.0001829/0.425, allocations: 111.2 kB / 1.107 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.4268, allocations: 0.9722 MB / 1.108 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4268, allocations: 0 / 1.108 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006802/0.4275, allocations: 477.6 kB / 1.109 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/0.4281, allocations: 70.86 kB / 1.109 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.4295, allocations: 0.9363 MB / 1.11 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.4299, allocations: 0.8547 MB / 1.111 GB, free: 436 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004247/0.4304, allocations: 143.1 kB / 1.111 GB, free: 292 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.4304, allocations: 31.44 kB / 1.111 GB, free: 264 kB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.4305, allocations: 0 / 1.111 GB, free: 264 kB / 0.8575 GB Notification: Performance of Templates: time 0.01183/0.4423, allocations: 6.897 MB / 1.118 GB, free: 9.398 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)