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.802/1.802, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001401/0.001402, allocations: 180.9 kB / 361.4 MB, free: 6.82 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.555/1.555, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 94.31 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.689e-05, allocations: 0 / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6165/0.6165, allocations: 115.3 MB / 0.9645 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.8172, allocations: 159.2 MB / 1.12 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.8176, allocations: 96.5 kB / 1.12 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03462/0.8522, allocations: 14.1 MB / 1.134 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8523, allocations: 4 kB / 1.134 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.8523, allocations: 4 kB / 1.134 GB, free: 14.23 MB / 0.7448 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.0006687/0.853, allocations: 474.2 kB / 1.134 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.823e-05/0.8531, allocations: 8.031 kB / 1.134 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006906/0.8538, allocations: 84.66 kB / 1.134 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.8541, allocations: 232.5 kB / 1.135 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.8541, allocations: 6.25 kB / 1.135 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.8541, allocations: 15.94 kB / 1.135 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003151/0.8545, allocations: 190.2 kB / 1.135 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.8549, allocations: 287.5 kB / 1.135 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.8549, allocations: 0 / 1.135 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.855, allocations: 4 kB / 1.135 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.855, allocations: 23.98 kB / 1.135 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.8567, allocations: 1.575 MB / 1.137 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/0.8573, allocations: 399.2 kB / 1.137 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.8575, allocations: 81.67 kB / 1.137 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.8576, allocations: 85.11 kB / 1.137 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.8577, allocations: 46.48 kB / 1.137 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.8577, allocations: 224 / 1.137 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0006258/0.8583, allocations: 250.7 kB / 1.137 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.8584, allocations: 85.05 kB / 1.138 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.8585, allocations: 143.8 kB / 1.138 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.8585, allocations: 27.02 kB / 1.138 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.8586, allocations: 151.7 kB / 1.138 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.8587, allocations: 47.36 kB / 1.138 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.8587, allocations: 4.094 kB / 1.138 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8588, allocations: 322.8 kB / 1.138 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.8589, allocations: 67.97 kB / 1.138 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.8591, allocations: 143.4 kB / 1.138 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.8593, allocations: 111.9 kB / 1.139 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.8593, allocations: 0 / 1.139 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004561/0.8598, allocations: 270.8 kB / 1.139 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004279/0.8602, allocations: 0.968 MB / 1.14 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.8603, allocations: 0 / 1.14 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.8603, allocations: 7.938 kB / 1.14 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.8605, allocations: 55.86 kB / 1.14 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.8606, allocations: 15.36 kB / 1.14 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.8607, allocations: 19.83 kB / 1.14 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.8607, allocations: 8 kB / 1.14 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.8608, allocations: 4 kB / 1.14 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003771/0.8611, allocations: 199.7 kB / 1.14 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8611, allocations: 4 kB / 1.14 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-06/0.8612, allocations: 8.312 kB / 1.14 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.8613, allocations: 49.66 kB / 1.14 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.8614, allocations: 7.938 kB / 1.14 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.8615, allocations: 7.984 kB / 1.14 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.8615, allocations: 12 kB / 1.14 GB, free: 7.309 MB / 0.7448 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 () * 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 8.585e-05/0.8616, allocations: 112.9 kB / 1.14 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003553/0.8619, allocations: 191.2 kB / 1.14 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.862, allocations: 7.906 kB / 1.14 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.8624, allocations: 214.8 kB / 1.141 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.8624, allocations: 4 kB / 1.141 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8624, allocations: 0 / 1.141 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.8624, allocations: 0 / 1.141 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.8636, allocations: 0.9095 MB / 1.141 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.8636, allocations: 8.062 kB / 1.142 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.8638, allocations: 35.91 kB / 1.142 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.8638, allocations: 7.953 kB / 1.142 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.8638, allocations: 4 kB / 1.142 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.8638, allocations: 4 kB / 1.142 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.8638, allocations: 7.938 kB / 1.142 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.8643, allocations: 0.574 MB / 1.142 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.8645, allocations: 112.9 kB / 1.142 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.8645, allocations: 8 kB / 1.142 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.8647, allocations: 7.984 kB / 1.142 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.8647, allocations: 19.94 kB / 1.142 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.8647, allocations: 8 kB / 1.142 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.47e-05/0.8648, allocations: 130 kB / 1.142 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8649, allocations: 0 / 1.142 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005506/0.8654, allocations: 76 kB / 1.142 GB, free: 4.613 MB / 0.7448 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 () * 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.001147/0.8666, allocations: 2.029 MB / 1.144 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.867, allocations: 271.6 kB / 1.145 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.867, allocations: 5.875 kB / 1.145 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.978e-05/0.8671, allocations: 77.89 kB / 1.145 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.8675, allocations: 31.86 kB / 1.145 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009366/0.8684, allocations: 415.5 kB / 1.145 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.8688, allocations: 0.7529 MB / 1.146 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.869, allocations: 79.59 kB / 1.146 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.8691, allocations: 51.41 kB / 1.146 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.8691, allocations: 0 / 1.146 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.8903, allocations: 3.059 MB / 1.149 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.8906, allocations: 184.5 kB / 1.149 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.58, allocations: 2.344 kB / 1.149 GB, free: 13.52 MB / 0.7605 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)