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.001523/0.001523, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00183/0.001829, allocations: 194.5 kB / 16.25 MB, free: 6.625 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 68.06 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4182, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004266/0.4225, allocations: 2.674 MB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.4249, allocations: 1.48 MB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.425, allocations: 4 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007773/0.4258, allocations: 207.3 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.4263, allocations: 179.4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.4267, allocations: 131.7 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.4269, allocations: 223.3 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000384/0.4273, allocations: 202.5 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.4275, allocations: 99.67 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.4277, allocations: 123.6 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.4278, allocations: 12 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.4281, allocations: 227.5 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.467e-05/0.4282, allocations: 67.88 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.522e-05/0.4283, allocations: 91.52 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.4287, allocations: 331.3 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4288, allocations: 3.984 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4288, allocations: 3.938 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4288, allocations: 0 / 1.074 GB, free: 4.734 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.000759/0.4295, allocations: 487.2 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.4296, allocations: 11.97 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005999/0.4302, allocations: 80.64 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.4305, allocations: 243.2 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.4305, allocations: 12.69 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.4306, allocations: 16.38 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.431, allocations: 324.4 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4311, allocations: 0 / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.4311, allocations: 8 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/0.4312, allocations: 24.27 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.4315, allocations: 248.6 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.4332, allocations: 1.63 MB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.4339, allocations: 415.2 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.4341, allocations: 93.59 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.4342, allocations: 85.09 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4343, allocations: 38.56 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.4343, allocations: 0 / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006446/0.4349, allocations: 308.7 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.435, allocations: 85.11 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4351, allocations: 175.3 kB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.4352, allocations: 25.7 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.4353, allocations: 151.8 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.4353, allocations: 55.28 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.4354, allocations: 45.69 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4355, allocations: 326.8 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.4357, allocations: 92.78 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.4358, allocations: 150.7 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.4362, allocations: 249.2 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4362, allocations: 0 / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003949/0.4366, allocations: 273.2 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4366, allocations: 4 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.4366, allocations: 4.312 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.4366, allocations: 11.94 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.4369, allocations: 55.89 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.4369, allocations: 4 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.4371, allocations: 15.98 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.4371, allocations: 12 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001759/0.4373, allocations: 176.1 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001494/0.4374, allocations: 151.9 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002562/0.4377, allocations: 229.6 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.4377, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003559/0.4381, allocations: 253.2 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.4381, allocations: 11.98 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4381, allocations: 4 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.648e-06/0.4381, allocations: 4.047 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.4383, allocations: 55.83 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4383, allocations: 7.938 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.4384, allocations: 19.92 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.4385, allocations: 12.34 kB / 1.08 GB, free: 13.58 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.0001164/0.4386, allocations: 192.2 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.4386, allocations: 11.81 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.439, allocations: 203.9 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.439, allocations: 4 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.439, allocations: 3.938 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.439, allocations: 7.984 kB / 1.08 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.4403, allocations: 0.965 MB / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4403, allocations: 4 kB / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.4405, allocations: 31.97 kB / 1.081 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4405, allocations: 4 kB / 1.081 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.4405, allocations: 8 kB / 1.081 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.4405, allocations: 12.38 kB / 1.081 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4405, allocations: 11.94 kB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.4409, allocations: 432.9 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.441, allocations: 108.9 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.4411, allocations: 4 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.4413, allocations: 19.98 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.4413, allocations: 19.86 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.4413, allocations: 12 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001156/0.4415, allocations: 132.5 kB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4415, allocations: 0 / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005172/0.442, allocations: 72 kB / 1.082 GB, free: 11.14 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.0001481/0.4421, allocations: 115.1 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.4426, allocations: 304.6 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4426, allocations: 0 / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4428, allocations: 88.06 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.4433, allocations: 33.81 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008324/0.4441, allocations: 0.5441 MB / 1.083 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.4444, allocations: 0.748 MB / 1.084 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002099/0.4447, allocations: 77.61 kB / 1.084 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.4447, allocations: 15.44 kB / 1.084 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of SimCode: time 3.577e-06/0.4447, allocations: 0 / 1.084 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of Templates: time 0.004654/0.4494, allocations: 1.808 MB / 1.086 GB, free: 7.344 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)