Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008291/0.0008292, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007624/0.007624, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.461/1.461, 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.897/2.897, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 12.19 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4053, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003535/0.4089, allocations: 2.314 MB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.4116, allocations: 1.469 MB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.4118, allocations: 4 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.412, allocations: 27.78 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006915/0.4127, allocations: 175.4 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.4133, allocations: 147.4 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.4137, allocations: 351.1 kB / 1.079 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000744/0.4145, allocations: 326.8 kB / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.4147, allocations: 75.7 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.4151, allocations: 111.6 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.4151, allocations: 8 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.4156, allocations: 275.4 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.4157, allocations: 59.81 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.4159, allocations: 109.2 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.4165, allocations: 331.2 kB / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4165, allocations: 0 / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4165, allocations: 0 / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.4165, 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.0008295/0.4173, allocations: 455.2 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4174, allocations: 11.97 kB / 1.08 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007127/0.4181, allocations: 80.56 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.4184, allocations: 240 kB / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4185, allocations: 12.7 kB / 1.081 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.4185, allocations: 16.38 kB / 1.081 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.419, allocations: 320.4 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4191, allocations: 0 / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.4191, allocations: 12 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.4192, allocations: 16.27 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.4196, allocations: 256.5 kB / 1.081 GB, free: 236 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.4214, allocations: 1.63 MB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.422, allocations: 415.1 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.4222, allocations: 97.81 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.4224, allocations: 85.11 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.4224, allocations: 30.56 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.4224, allocations: 0 / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0007558/0.4232, allocations: 308.8 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.4232, allocations: 77.11 kB / 1.084 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.4234, allocations: 183.4 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4235, allocations: 29.7 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4236, allocations: 159.8 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.4236, allocations: 43.3 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.4237, allocations: 29.7 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4238, allocations: 326.8 kB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.424, allocations: 75.95 kB / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.4242, allocations: 158 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.4245, allocations: 241.2 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4245, allocations: 0 / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004073/0.4249, allocations: 273.2 kB / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.425, allocations: 161.8 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.4251, allocations: 4 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.4251, allocations: 4 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.4253, allocations: 55.89 kB / 1.085 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.4254, allocations: 11.94 kB / 1.085 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.4255, allocations: 15.98 kB / 1.085 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.4255, allocations: 15.98 kB / 1.085 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/0.4256, allocations: 0 / 1.085 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000313/0.4259, allocations: 210.9 kB / 1.086 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4259, allocations: 4.656 kB / 1.086 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.4259, allocations: 8 kB / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.4261, allocations: 51.84 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4261, allocations: 7.984 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.4262, allocations: 27.77 kB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.4263, allocations: 8 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.0001792/0.4264, allocations: 225 kB / 1.086 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.4265, allocations: 11.91 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.4269, allocations: 211.7 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.4269, allocations: 4 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4269, allocations: 3.938 kB / 1.086 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4269, allocations: 0 / 1.086 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.4282, allocations: 0.9689 MB / 1.087 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.4282, allocations: 4.438 kB / 1.087 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.4284, allocations: 31.98 kB / 1.087 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.4284, allocations: 4 kB / 1.087 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.4284, allocations: 11.98 kB / 1.087 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.4284, allocations: 7.938 kB / 1.087 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.4284, allocations: 4 kB / 1.087 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.4288, allocations: 440.8 kB / 1.088 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.705e-05/0.4289, allocations: 101 kB / 1.088 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.429, allocations: 11.98 kB / 1.088 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.4292, allocations: 15.98 kB / 1.088 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.4292, allocations: 19.86 kB / 1.088 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.4292, allocations: 12 kB / 1.088 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001121/0.4293, allocations: 132.5 kB / 1.088 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4294, allocations: 0 / 1.088 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005138/0.4299, allocations: 68 kB / 1.088 GB, free: 8.672 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.0001729/0.4301, allocations: 119 kB / 1.088 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004643/0.4305, allocations: 300 kB / 1.088 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4305, allocations: 0 / 1.088 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.4307, allocations: 85.39 kB / 1.088 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.4312, allocations: 34.56 kB / 1.088 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.4321, allocations: 0.5633 MB / 1.089 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.4325, allocations: 0.7402 MB / 1.09 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.4327, allocations: 81.48 kB / 1.09 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.4327, allocations: 23.44 kB / 1.09 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.4328, allocations: 0 / 1.09 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of Templates: time 0.004875/0.4376, allocations: 1.715 MB / 1.091 GB, free: 4.945 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)