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.001148/0.001148, 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.001285/0.001285, allocations: 192 kB / 16.14 MB, free: 6.656 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.5 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4267, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004349/0.4311, allocations: 2.676 MB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.4337, allocations: 1.492 MB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.4338, allocations: 7.938 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008187/0.4346, allocations: 211.3 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.4351, allocations: 175.4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.4355, allocations: 143.7 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.4358, allocations: 335.1 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.4362, allocations: 173.9 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.4363, allocations: 87.62 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.4366, allocations: 123.6 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.4366, allocations: 12 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.437, allocations: 271.4 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.85e-05/0.4371, allocations: 59.86 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.4372, allocations: 91.53 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.4376, allocations: 331.2 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4376, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.81e-07/0.4376, allocations: 7.938 kB / 1.074 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.4376, allocations: 0 / 1.074 GB, free: 4.727 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.0007935/0.4384, allocations: 495.2 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4385, allocations: 8.031 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/0.4391, allocations: 80.66 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.4394, allocations: 231.9 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.4394, allocations: 12.7 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.4395, allocations: 16.36 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/0.44, allocations: 320.4 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.44, allocations: 8 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.4401, allocations: 7.984 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.4401, allocations: 20.27 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.4405, allocations: 256.5 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.4421, allocations: 1.638 MB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.4427, allocations: 411.2 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.4428, allocations: 89.67 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.443, allocations: 89.08 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.443, allocations: 34.56 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.4431, allocations: 0 / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007015/0.4438, allocations: 308.7 kB / 1.077 GB, free: 396 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.4438, allocations: 85.3 kB / 1.077 GB, free: 292 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.444, allocations: 171.2 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.444, allocations: 29.7 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4442, allocations: 147.8 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.4442, allocations: 51.28 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.702e-05/0.4443, allocations: 45.7 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4444, allocations: 322.8 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.4446, allocations: 84.75 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.4448, allocations: 154.5 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.4451, allocations: 244.5 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4451, allocations: 8 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004203/0.4455, allocations: 269.2 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4456, allocations: 8 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4456, allocations: 0 / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4456, allocations: 7.938 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.4458, allocations: 60.2 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.4459, allocations: 8 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.446, allocations: 11.98 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.446, allocations: 12 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001982/0.4463, allocations: 184 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001558/0.4464, allocations: 148 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002899/0.4467, allocations: 222.1 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.4467, allocations: 7.938 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003908/0.4471, allocations: 261.1 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4471, allocations: 5.562 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.4472, allocations: 7.938 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.4472, allocations: 4 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.4474, allocations: 51.84 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4474, allocations: 4 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.4475, allocations: 19.92 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.4475, allocations: 12 kB / 1.08 GB, free: 13.59 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.0001217/0.4477, allocations: 192.4 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.4477, allocations: 15.81 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.4481, allocations: 203.7 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.4481, allocations: 4 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4482, allocations: 3.984 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4482, allocations: 0 / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.4495, allocations: 0.969 MB / 1.081 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.4495, allocations: 4 kB / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.4496, allocations: 35.97 kB / 1.081 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.4497, allocations: 4 kB / 1.081 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.4497, allocations: 4 kB / 1.081 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.4497, allocations: 7.938 kB / 1.081 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4497, allocations: 7.938 kB / 1.081 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.4501, allocations: 433.3 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.4502, allocations: 116.9 kB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.4503, allocations: 8 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.4505, allocations: 11.98 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.4505, allocations: 27.86 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.4505, allocations: 4 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001176/0.4506, allocations: 136.5 kB / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4507, allocations: 0 / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005376/0.4512, allocations: 72 kB / 1.082 GB, free: 11.15 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.000171/0.4514, allocations: 119.1 kB / 1.082 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004718/0.4519, allocations: 295.5 kB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4519, allocations: 1.312 kB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.452, allocations: 88.44 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.4525, allocations: 33.05 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.4535, allocations: 0.5449 MB / 1.083 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4538, allocations: 0.7519 MB / 1.084 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.454, allocations: 73.47 kB / 1.084 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.4541, allocations: 15.44 kB / 1.084 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.4541, allocations: 0 / 1.084 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of Templates: time 0.004736/0.4588, allocations: 1.752 MB / 1.086 GB, free: 7.418 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)