Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.722/2.722, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001576/0.001576, allocations: 183 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001149/0.001148, allocations: 92.09 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005397/0.0005397, allocations: 16.11 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2191, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9536/1.173, allocations: 159.8 MB / 1.134 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003661/1.173, allocations: 96.69 kB / 1.134 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05277/1.226, allocations: 14.24 MB / 1.148 GB, free: 25.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/1.226, allocations: 0 / 1.148 GB, free: 25.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.897e-05/1.226, allocations: 3.875 kB / 1.148 GB, free: 25.57 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.0008773/1.227, allocations: 490.6 kB / 1.149 GB, free: 25.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.227, allocations: 11.53 kB / 1.149 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.369e-05/1.227, allocations: 64.56 kB / 1.149 GB, free: 25.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/1.228, allocations: 77.59 kB / 1.149 GB, free: 25.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/1.229, allocations: 230.7 kB / 1.149 GB, free: 24.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/1.229, allocations: 15.53 kB / 1.149 GB, free: 24.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/1.229, allocations: 19.17 kB / 1.149 GB, free: 24.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/1.229, allocations: 316 kB / 1.15 GB, free: 24.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/1.229, allocations: 0 / 1.15 GB, free: 24.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/1.229, allocations: 10.81 kB / 1.15 GB, free: 24.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/1.229, allocations: 27.3 kB / 1.15 GB, free: 24.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006534/1.23, allocations: 247.5 kB / 1.15 GB, free: 24.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/1.233, allocations: 1.624 MB / 1.151 GB, free: 23.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/1.234, allocations: 417.9 kB / 1.152 GB, free: 22.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/1.234, allocations: 88.78 kB / 1.152 GB, free: 22.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/1.235, allocations: 33.69 kB / 1.152 GB, free: 22.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 3.046e-06/1.235, allocations: 4 kB / 1.152 GB, free: 22.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0009634/1.236, allocations: 301.7 kB / 1.152 GB, free: 22.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/1.236, allocations: 77.11 kB / 1.152 GB, free: 22.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/1.236, allocations: 155.8 kB / 1.152 GB, free: 22.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/1.236, allocations: 28.89 kB / 1.152 GB, free: 22.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/1.236, allocations: 158.2 kB / 1.153 GB, free: 22.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/1.236, allocations: 50.7 kB / 1.153 GB, free: 22.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/1.236, allocations: 3.844 kB / 1.153 GB, free: 22.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.236, allocations: 326.1 kB / 1.153 GB, free: 21.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/1.236, allocations: 78.33 kB / 1.153 GB, free: 21.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/1.237, allocations: 146 kB / 1.153 GB, free: 21.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/1.237, allocations: 108.7 kB / 1.153 GB, free: 21.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.237, allocations: 0 / 1.153 GB, free: 21.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005826/1.237, allocations: 267.9 kB / 1.154 GB, free: 21.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003851/1.238, allocations: 0.9707 MB / 1.154 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.238, allocations: 0 / 1.154 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/1.238, allocations: 7.656 kB / 1.155 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/1.238, allocations: 46.25 kB / 1.155 GB, free: 20.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/1.238, allocations: 11.77 kB / 1.155 GB, free: 20.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/1.239, allocations: 22.8 kB / 1.155 GB, free: 20.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/1.239, allocations: 7.688 kB / 1.155 GB, free: 20.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/1.239, allocations: 5.969 kB / 1.155 GB, free: 20.59 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004688/1.239, allocations: 207.2 kB / 1.155 GB, free: 20.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.239, allocations: 3.781 kB / 1.155 GB, free: 20.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/1.239, allocations: 4.031 kB / 1.155 GB, free: 20.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/1.24, allocations: 57.62 kB / 1.155 GB, free: 20.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.24, allocations: 11.8 kB / 1.155 GB, free: 20.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/1.24, allocations: 7.062 kB / 1.155 GB, free: 20.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/1.24, allocations: 18.92 kB / 1.155 GB, free: 20.52 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.0002305/1.24, allocations: 224.2 kB / 1.155 GB, free: 20.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/1.24, allocations: 15.06 kB / 1.155 GB, free: 20.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/1.241, allocations: 207.8 kB / 1.155 GB, free: 20.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.241, allocations: 0 / 1.155 GB, free: 20.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.241, allocations: 0 / 1.155 GB, free: 20.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.241, allocations: 7.812 kB / 1.155 GB, free: 20.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/1.242, allocations: 0.9703 MB / 1.156 GB, free: 19.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.243, allocations: 4 kB / 1.156 GB, free: 19.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/1.243, allocations: 40.34 kB / 1.156 GB, free: 19.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/1.243, allocations: 8 kB / 1.156 GB, free: 19.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/1.243, allocations: 7.312 kB / 1.156 GB, free: 19.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/1.243, allocations: 4 kB / 1.156 GB, free: 19.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.243, allocations: 4 kB / 1.156 GB, free: 19.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/1.243, allocations: 0.5684 MB / 1.157 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/1.244, allocations: 112.3 kB / 1.157 GB, free: 18.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/1.244, allocations: 11.56 kB / 1.157 GB, free: 18.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/1.244, allocations: 11.98 kB / 1.157 GB, free: 18.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/1.244, allocations: 23.88 kB / 1.157 GB, free: 18.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/1.244, allocations: 4 kB / 1.157 GB, free: 18.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001634/1.244, allocations: 142.1 kB / 1.157 GB, free: 18.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.244, allocations: 0 / 1.157 GB, free: 18.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007607/1.245, allocations: 83.25 kB / 1.157 GB, free: 18.38 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.001412/1.246, allocations: 2.035 MB / 1.159 GB, free: 16.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007004/1.247, allocations: 302 kB / 1.16 GB, free: 16.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.247, allocations: 4 kB / 1.16 GB, free: 16.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/1.247, allocations: 83.64 kB / 1.16 GB, free: 16.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/1.248, allocations: 26.2 kB / 1.16 GB, free: 16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/1.251, allocations: 2.748 MB / 1.162 GB, free: 13.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/1.251, allocations: 0.7539 MB / 1.163 GB, free: 12.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003817/1.252, allocations: 73.47 kB / 1.163 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/1.252, allocations: 46.61 kB / 1.163 GB, free: 12.42 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/1.252, allocations: 0 / 1.163 GB, free: 12.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/1.28, allocations: 3.348 MB / 1.166 GB, free: 9.258 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/1.281, allocations: 214.8 kB / 1.167 GB, free: 9.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.732, allocations: 4.062 kB / 1.167 GB, free: 9.016 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)