Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.676/1.676, allocations: 288.2 MB / 303.2 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 173.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008121/0.0008121, allocations: 99.66 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004149, allocations: 11.72 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2333, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8033/1.037, allocations: 160 MB / 1.136 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/1.037, allocations: 96.88 kB / 1.136 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03036/1.067, allocations: 14.24 MB / 1.15 GB, free: 25.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/1.067, allocations: 3.938 kB / 1.15 GB, free: 25.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.316e-05/1.067, allocations: 3.875 kB / 1.15 GB, free: 25.09 MB / 0.698 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.000634/1.068, allocations: 488.1 kB / 1.15 GB, free: 24.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.068, allocations: 11.78 kB / 1.15 GB, free: 24.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/1.068, allocations: 52.48 kB / 1.15 GB, free: 24.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006055/1.069, allocations: 84.97 kB / 1.15 GB, free: 24.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/1.069, allocations: 234.8 kB / 1.151 GB, free: 24.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/1.069, allocations: 15.77 kB / 1.151 GB, free: 24.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/1.069, allocations: 14.91 kB / 1.151 GB, free: 24.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/1.07, allocations: 312.5 kB / 1.151 GB, free: 24.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.07, allocations: 4 kB / 1.151 GB, free: 24.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/1.07, allocations: 10 kB / 1.151 GB, free: 24.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/1.07, allocations: 15.52 kB / 1.151 GB, free: 24.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/1.07, allocations: 253.2 kB / 1.151 GB, free: 24.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/1.072, allocations: 1.634 MB / 1.153 GB, free: 22.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/1.072, allocations: 414.6 kB / 1.153 GB, free: 22.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/1.072, allocations: 88.72 kB / 1.153 GB, free: 22.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/1.072, allocations: 38.52 kB / 1.153 GB, free: 22.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/1.072, allocations: 0 / 1.153 GB, free: 22.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0006217/1.073, allocations: 302 kB / 1.154 GB, free: 22.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/1.073, allocations: 77.11 kB / 1.154 GB, free: 21.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/1.073, allocations: 153.2 kB / 1.154 GB, free: 21.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/1.073, allocations: 28.7 kB / 1.154 GB, free: 21.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/1.073, allocations: 159 kB / 1.154 GB, free: 21.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/1.073, allocations: 50.66 kB / 1.154 GB, free: 21.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/1.073, allocations: 7.688 kB / 1.154 GB, free: 21.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.073, allocations: 322.2 kB / 1.154 GB, free: 21.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/1.074, allocations: 81.02 kB / 1.154 GB, free: 21.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/1.074, allocations: 151.9 kB / 1.155 GB, free: 21.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/1.074, allocations: 98.58 kB / 1.155 GB, free: 21.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.074, allocations: 4 kB / 1.155 GB, free: 21.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003386/1.074, allocations: 268.1 kB / 1.155 GB, free: 20.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004165/1.075, allocations: 0.9616 MB / 1.156 GB, free: 19.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.075, allocations: 7.953 kB / 1.156 GB, free: 19.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.075, allocations: 11.98 kB / 1.156 GB, free: 19.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/1.075, allocations: 51.09 kB / 1.156 GB, free: 19.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/1.075, allocations: 7.938 kB / 1.156 GB, free: 19.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/1.075, allocations: 19.77 kB / 1.156 GB, free: 19.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/1.075, allocations: 12.17 kB / 1.156 GB, free: 19.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/1.075, allocations: 4 kB / 1.156 GB, free: 19.68 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002545/1.075, allocations: 213.8 kB / 1.156 GB, free: 19.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/1.075, allocations: 8.062 kB / 1.156 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/1.075, allocations: 4 kB / 1.156 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/1.076, allocations: 47.91 kB / 1.156 GB, free: 19.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/1.076, allocations: 4 kB / 1.156 GB, free: 19.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/1.076, allocations: 15.05 kB / 1.156 GB, free: 19.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/1.076, allocations: 7.875 kB / 1.156 GB, free: 19.45 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/1.076, allocations: 230.4 kB / 1.156 GB, free: 19.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/1.076, allocations: 15.81 kB / 1.156 GB, free: 19.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/1.076, allocations: 209.7 kB / 1.157 GB, free: 19.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/1.076, allocations: 0 / 1.157 GB, free: 19.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.076, allocations: 0 / 1.157 GB, free: 19.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.076, allocations: 4 kB / 1.157 GB, free: 19.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/1.077, allocations: 0.9725 MB / 1.158 GB, free: 18.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.077, allocations: 4 kB / 1.158 GB, free: 18.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/1.077, allocations: 31.94 kB / 1.158 GB, free: 18.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.077, allocations: 7.984 kB / 1.158 GB, free: 18.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/1.078, allocations: 11.44 kB / 1.158 GB, free: 18.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.078, allocations: 4 kB / 1.158 GB, free: 18.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.078, allocations: 4 kB / 1.158 GB, free: 18.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/1.078, allocations: 0.5711 MB / 1.158 GB, free: 17.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-05/1.078, allocations: 112 kB / 1.158 GB, free: 17.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/1.078, allocations: 8 kB / 1.158 GB, free: 17.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/1.078, allocations: 14.92 kB / 1.158 GB, free: 17.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/1.078, allocations: 27.69 kB / 1.158 GB, free: 17.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/1.078, allocations: 8 kB / 1.158 GB, free: 17.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000107/1.078, allocations: 136.9 kB / 1.159 GB, free: 17.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.078, allocations: 0 / 1.159 GB, free: 17.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00055/1.079, allocations: 83.75 kB / 1.159 GB, free: 17.02 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/1.08, allocations: 2.041 MB / 1.161 GB, free: 14.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004041/1.08, allocations: 302.2 kB / 1.161 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.08, allocations: 0 / 1.161 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/1.081, allocations: 79.77 kB / 1.161 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/1.081, allocations: 35.22 kB / 1.161 GB, free: 14.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/1.083, allocations: 2.736 MB / 1.164 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/1.084, allocations: 0.7545 MB / 1.164 GB, free: 11.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002045/1.084, allocations: 73.47 kB / 1.164 GB, free: 11.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/1.084, allocations: 57.73 kB / 1.165 GB, free: 11.04 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/1.084, allocations: 0 / 1.165 GB, free: 11.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/1.098, allocations: 3.339 MB / 1.168 GB, free: 7.91 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/1.099, allocations: 216.4 kB / 1.168 GB, free: 7.676 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.75, allocations: 4.031 kB / 1.168 GB, free: 7.672 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)