Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.001628/0.001629, 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.002274/0.002274, allocations: 195.5 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.601/1.601, allocations: 251.7 MB / 0.5088 GB, free: 3.359 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6918, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.006333/0.6982, allocations: 2.686 MB / 0.7264 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003724/0.702, allocations: 1.539 MB / 0.7279 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.7022, allocations: 4 kB / 0.728 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.7033, allocations: 212.3 kB / 0.7282 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006933/0.704, allocations: 175.4 kB / 0.7283 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.7046, allocations: 139.7 kB / 0.7285 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.7051, allocations: 343.1 kB / 0.7288 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005562/0.7057, allocations: 163.9 kB / 0.7289 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.7062, allocations: 87.67 kB / 0.729 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.7066, allocations: 115.6 kB / 0.7291 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.7067, allocations: 12 kB / 0.7291 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006247/0.7073, allocations: 279.4 kB / 0.7294 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.7074, allocations: 67.8 kB / 0.7295 GB, free: 7.344 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.7076, allocations: 87.53 kB / 0.7296 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000849/0.7085, allocations: 331 kB / 0.7299 GB, free: 6.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.7085, allocations: 0 / 0.7299 GB, free: 6.934 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7085, allocations: 0 / 0.7299 GB, free: 6.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.533e-05/0.7086, allocations: 0 / 0.7299 GB, free: 6.934 MB / 0.545 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.001161/0.7097, allocations: 495.1 kB / 0.7303 GB, free: 6.402 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.7098, allocations: 15.97 kB / 0.7304 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007868/0.7106, allocations: 80.56 kB / 0.7304 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.711, allocations: 230.5 kB / 0.7307 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.7111, allocations: 12.7 kB / 0.7307 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.7111, allocations: 12.38 kB / 0.7307 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007663/0.7119, allocations: 328.4 kB / 0.731 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.7119, allocations: 0 / 0.731 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.712, allocations: 4 kB / 0.731 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.542e-05/0.712, allocations: 28.2 kB / 0.731 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.7126, allocations: 252.6 kB / 0.7313 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.7148, allocations: 1.634 MB / 0.7329 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007546/0.7156, allocations: 411.2 kB / 0.7333 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.7157, allocations: 89.61 kB / 0.7333 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.7159, allocations: 93.09 kB / 0.7334 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.716, allocations: 30.56 kB / 0.7335 GB, free: 2.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 3.206e-06/0.716, allocations: 0 / 0.7335 GB, free: 2.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0009236/0.7169, allocations: 312.4 kB / 0.7338 GB, free: 2.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/0.717, allocations: 85.52 kB / 0.7338 GB, free: 2.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.7173, allocations: 175.9 kB / 0.734 GB, free: 2.316 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.7173, allocations: 25.7 kB / 0.734 GB, free: 2.285 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.7175, allocations: 147.9 kB / 0.7342 GB, free: 2.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.7175, allocations: 55.28 kB / 0.7342 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.7177, allocations: 53.61 kB / 0.7343 GB, free: 2.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.7179, allocations: 318.8 kB / 0.7346 GB, free: 1.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.718, allocations: 88.75 kB / 0.7347 GB, free: 1.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.7182, allocations: 145.4 kB / 0.7348 GB, free: 1.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.7185, allocations: 257.2 kB / 0.735 GB, free: 1.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7185, allocations: 0 / 0.735 GB, free: 1.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003964/0.7189, allocations: 265.2 kB / 0.7353 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.719, allocations: 4 kB / 0.7353 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.719, allocations: 4 kB / 0.7353 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-05/0.719, allocations: 7.938 kB / 0.7353 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.7193, allocations: 52.2 kB / 0.7354 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.7193, allocations: 8 kB / 0.7354 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.7195, allocations: 19.89 kB / 0.7354 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.7195, allocations: 15.98 kB / 0.7354 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002109/0.7197, allocations: 180 kB / 0.7356 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001461/0.7199, allocations: 147.3 kB / 0.7357 GB, free: 424 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002566/0.7202, allocations: 233.5 kB / 0.7359 GB, free: 156 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.085e-06/0.7202, allocations: 0 / 0.7359 GB, free: 156 kB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004669/0.7206, allocations: 257.3 kB / 0.7362 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.7207, allocations: 4 kB / 0.7362 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/0.7207, allocations: 4 kB / 0.7362 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.7207, allocations: 4 kB / 0.7362 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.7209, allocations: 55.84 kB / 0.7363 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.7209, allocations: 7.938 kB / 0.7363 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.721, allocations: 19.83 kB / 0.7363 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.721, allocations: 8.188 kB / 0.7363 GB, free: 15.79 MB / 0.5606 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.0003463/0.7214, allocations: 197.1 kB / 0.7365 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.7215, allocations: 19.75 kB / 0.7365 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/0.7219, allocations: 207.8 kB / 0.7367 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.7219, allocations: 0 / 0.7367 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.7219, allocations: 0 / 0.7367 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.7219, allocations: 4 kB / 0.7367 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.7235, allocations: 0.9651 MB / 0.7376 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7235, allocations: 4 kB / 0.7376 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.7237, allocations: 31.97 kB / 0.7377 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.7237, allocations: 7.938 kB / 0.7377 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.7237, allocations: 8 kB / 0.7377 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.7237, allocations: 15.92 kB / 0.7377 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7237, allocations: 4.094 kB / 0.7377 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.7242, allocations: 441.3 kB / 0.7381 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.7244, allocations: 105 kB / 0.7382 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.7244, allocations: 4 kB / 0.7382 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.7246, allocations: 15.98 kB / 0.7382 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.7247, allocations: 27.86 kB / 0.7383 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.7247, allocations: 8 kB / 0.7383 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001179/0.7248, allocations: 133.7 kB / 0.7384 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7248, allocations: 0 / 0.7384 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005227/0.7253, allocations: 72 kB / 0.7385 GB, free: 13.35 MB / 0.5606 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.0001777/0.7255, allocations: 115.1 kB / 0.7386 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005239/0.726, allocations: 297.7 kB / 0.7389 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7261, allocations: 1.312 kB / 0.7389 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.7262, allocations: 88.44 kB / 0.739 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.7267, allocations: 40.72 kB / 0.739 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.7278, allocations: 0.5367 MB / 0.7395 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.7282, allocations: 0.7519 MB / 0.7403 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.7284, allocations: 73.47 kB / 0.7403 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.7285, allocations: 19.44 kB / 0.7403 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of SimCode: time 4.3e-07/0.7285, allocations: 0 / 0.7403 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of Templates: time 0.005042/0.7336, allocations: 1.738 MB / 0.742 GB, free: 9.648 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)