Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009101/0.0009102, allocations: 97.95 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.006855/0.006856, allocations: 171.5 kB / 16.27 MB, free: 6.652 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 11.81 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3911, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003547/0.3947, allocations: 2.318 MB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.3972, allocations: 1.469 MB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.3973, allocations: 0 / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.3975, allocations: 27.78 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005251/0.398, allocations: 175.4 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.3985, allocations: 139.7 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.3988, allocations: 347.1 kB / 1.079 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008/0.3996, allocations: 334.8 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.3998, allocations: 71.7 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.4001, allocations: 103.6 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.4001, allocations: 12 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.4006, allocations: 283.4 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.4007, allocations: 59.8 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.4008, allocations: 105.2 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.4013, allocations: 331.2 kB / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4013, allocations: 0 / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4013, allocations: 0 / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.4013, allocations: 0 / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000826/0.4021, allocations: 451.3 kB / 1.08 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4022, allocations: 15.97 kB / 1.08 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/0.4028, allocations: 88.5 kB / 1.08 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.4032, allocations: 232.1 kB / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.4033, allocations: 12.69 kB / 1.081 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.4033, allocations: 16.38 kB / 1.081 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.4039, allocations: 324.4 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4039, allocations: 0 / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.404, allocations: 8 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/0.404, allocations: 24.27 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.4044, allocations: 256.5 kB / 1.081 GB, free: 228 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.4061, allocations: 1.634 MB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.4068, allocations: 415.2 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.407, allocations: 81.89 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.4071, allocations: 89.03 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.4072, allocations: 38.56 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.4072, allocations: 0 / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0006869/0.4079, allocations: 300.5 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.4079, allocations: 85.3 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.4081, allocations: 175.2 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.4082, allocations: 33.64 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.4083, allocations: 151.9 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.4083, allocations: 55.28 kB / 1.084 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.4084, allocations: 21.72 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4085, allocations: 322.8 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4086, allocations: 83.88 kB / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.4088, allocations: 154.4 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.4091, allocations: 241.3 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4091, allocations: 4 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003977/0.4095, allocations: 276.5 kB / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.4096, allocations: 161.8 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.4097, allocations: 4 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.4097, allocations: 8 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.41, allocations: 59.89 kB / 1.085 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.41, allocations: 7.938 kB / 1.085 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.4101, allocations: 11.98 kB / 1.085 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.4102, allocations: 16 kB / 1.085 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.4102, allocations: 5.875 kB / 1.085 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003218/0.4105, allocations: 207.9 kB / 1.086 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.4105, allocations: 0 / 1.086 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.4105, allocations: 4.188 kB / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.4107, allocations: 59.89 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.4107, allocations: 3.938 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.4108, allocations: 23.77 kB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.4108, allocations: 12 kB / 1.086 GB, free: 11.14 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.411, allocations: 221 kB / 1.086 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.4111, allocations: 12 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.4115, allocations: 204.1 kB / 1.086 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.4115, allocations: 4 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.4115, allocations: 3.938 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4115, allocations: 3.984 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.4129, allocations: 0.9653 MB / 1.087 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4129, allocations: 4 kB / 1.087 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.413, allocations: 31.97 kB / 1.087 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.413, allocations: 4 kB / 1.087 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.413, allocations: 11.94 kB / 1.087 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.413, allocations: 4 kB / 1.087 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4131, allocations: 4 kB / 1.087 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.4135, allocations: 436.9 kB / 1.088 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.4136, allocations: 113 kB / 1.088 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.4136, allocations: 4 kB / 1.088 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.4138, allocations: 15.98 kB / 1.088 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.4138, allocations: 23.86 kB / 1.088 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.4139, allocations: 8 kB / 1.088 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001149/0.414, allocations: 136.5 kB / 1.088 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.414, allocations: 0 / 1.088 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004952/0.4145, allocations: 68 kB / 1.088 GB, free: 8.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000164/0.4147, allocations: 115.1 kB / 1.088 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.4151, allocations: 307.5 kB / 1.088 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4152, allocations: 0 / 1.088 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.4153, allocations: 81.88 kB / 1.088 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.4158, allocations: 37.11 kB / 1.088 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008463/0.4167, allocations: 0.5632 MB / 1.089 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.417, allocations: 0.7402 MB / 1.09 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002059/0.4173, allocations: 85.5 kB / 1.09 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.4173, allocations: 23.42 kB / 1.09 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.4173, allocations: 0 / 1.09 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of Templates: time 0.00474/0.4221, allocations: 1.721 MB / 1.091 GB, free: 4.941 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)