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.573/1.573, allocations: 285.4 MB / 298 MB, free: 5.973 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.001917/0.001917, allocations: 176.8 kB / 366.4 MB, free: 2.09 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.595/1.595, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0009214/0.0009214, allocations: 92.69 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.176e-05/5.217e-05, allocations: 7.938 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8401/0.8402, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/1.085, allocations: 159.9 MB / 1.127 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/1.085, allocations: 98.56 kB / 1.127 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0438/1.129, allocations: 14.14 MB / 1.141 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.234e-06/1.129, allocations: 0 / 1.141 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.845e-05/1.129, allocations: 4 kB / 1.141 GB, free: 9.543 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.0009313/1.13, allocations: 474.2 kB / 1.142 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/1.13, allocations: 12.03 kB / 1.142 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.978e-05/1.13, allocations: 50.55 kB / 1.142 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/1.132, allocations: 79.62 kB / 1.142 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/1.132, allocations: 238.7 kB / 1.142 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/1.132, allocations: 12.33 kB / 1.142 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.811e-05/1.132, allocations: 19.94 kB / 1.142 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008149/1.133, allocations: 319.8 kB / 1.142 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/1.133, allocations: 3.938 kB / 1.142 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/1.133, allocations: 8 kB / 1.142 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/1.133, allocations: 15.98 kB / 1.142 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/1.134, allocations: 247.8 kB / 1.142 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/1.137, allocations: 1.622 MB / 1.144 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/1.138, allocations: 411.2 kB / 1.144 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/1.138, allocations: 85.67 kB / 1.145 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/1.139, allocations: 89.06 kB / 1.145 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/1.139, allocations: 38.77 kB / 1.145 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 3.878e-06/1.139, allocations: 3.938 kB / 1.145 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.001015/1.14, allocations: 242.8 kB / 1.145 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/1.14, allocations: 85.05 kB / 1.145 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/1.14, allocations: 156.3 kB / 1.145 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/1.14, allocations: 25.7 kB / 1.145 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/1.14, allocations: 155.7 kB / 1.145 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/1.14, allocations: 51.34 kB / 1.145 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/1.14, allocations: 4.094 kB / 1.145 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.141, allocations: 329 kB / 1.146 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/1.141, allocations: 71.97 kB / 1.146 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/1.141, allocations: 141.4 kB / 1.146 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/1.141, allocations: 106.1 kB / 1.146 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.141, allocations: 0 / 1.146 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000765/1.142, allocations: 257.3 kB / 1.146 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005394/1.143, allocations: 0.9768 MB / 1.147 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.143, allocations: 4 kB / 1.147 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/1.143, allocations: 4 kB / 1.147 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/1.143, allocations: 55.89 kB / 1.147 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/1.143, allocations: 6.734 kB / 1.147 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/1.144, allocations: 23.83 kB / 1.147 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/1.144, allocations: 10.69 kB / 1.147 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.144, allocations: 4 kB / 1.147 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005988/1.144, allocations: 211.9 kB / 1.147 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.144, allocations: 4.031 kB / 1.147 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/1.144, allocations: 4.047 kB / 1.147 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/1.145, allocations: 59.89 kB / 1.148 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/1.145, allocations: 4 kB / 1.148 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/1.145, allocations: 7.984 kB / 1.148 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/1.145, allocations: 12 kB / 1.148 GB, free: 2.367 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 0.000146/1.145, allocations: 116.9 kB / 1.148 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/1.145, allocations: 15.81 kB / 1.148 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006609/1.146, allocations: 209.4 kB / 1.148 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.146, allocations: 3.938 kB / 1.148 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/1.146, allocations: 0 / 1.148 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.146, allocations: 0 / 1.148 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/1.148, allocations: 0.9655 MB / 1.149 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.148, allocations: 8.094 kB / 1.149 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/1.149, allocations: 39.86 kB / 1.149 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/1.149, allocations: 4 kB / 1.149 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/1.149, allocations: 13.31 kB / 1.149 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/1.149, allocations: 4 kB / 1.149 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/1.149, allocations: 4 kB / 1.149 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007862/1.15, allocations: 0.5702 MB / 1.149 GB, free: 172 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/1.15, allocations: 116.8 kB / 1.15 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/1.15, allocations: 4 kB / 1.15 GB, free: 32 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/1.15, allocations: 15.98 kB / 1.15 GB, free: 16 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/1.15, allocations: 24.02 kB / 1.15 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/1.15, allocations: 4 kB / 1.15 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001989/1.151, allocations: 138.1 kB / 1.15 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.01e-07/1.151, allocations: 0 / 1.15 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001102/1.152, allocations: 84 kB / 1.15 GB, free: 15.77 MB / 0.7605 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.001805/1.154, allocations: 2.032 MB / 1.152 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009101/1.154, allocations: 295.6 kB / 1.152 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.154, allocations: 0 / 1.152 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/1.155, allocations: 85.64 kB / 1.152 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/1.155, allocations: 32.23 kB / 1.152 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/1.157, allocations: 450.5 kB / 1.153 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/1.158, allocations: 0.744 MB / 1.153 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005039/1.158, allocations: 85.45 kB / 1.153 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/1.158, allocations: 49.11 kB / 1.154 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of SimCode: time 1.523e-06/1.158, allocations: 0 / 1.154 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/1.185, allocations: 3.462 MB / 1.157 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003251/1.186, allocations: 196 kB / 1.157 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.88, allocations: 4.062 kB / 1.157 GB, free: 8.352 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)