Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001258/0.001258, allocations: 185 kB / 377.1 MB, free: 1.516 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.85/1.85, allocations: 205.4 MB / 0.6366 GB, free: 8.52 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.0008879/0.000888, allocations: 91.02 kB / 0.7509 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003622, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2941, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8771/1.171, allocations: 161 MB / 1.146 GB, free: 18.17 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.172, allocations: 98.61 kB / 1.146 GB, free: 18.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03682/1.208, allocations: 14.25 MB / 1.16 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.286e-06/1.208, allocations: 4 kB / 1.16 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.14e-05/1.209, allocations: 4 kB / 1.16 GB, free: 7.16 MB / 0.7292 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.0008745/1.209, allocations: 492.5 kB / 1.16 GB, free: 6.629 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.209, allocations: 8.031 kB / 1.16 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.359e-05/1.21, allocations: 54.55 kB / 1.16 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006777/1.21, allocations: 81.69 kB / 1.16 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/1.211, allocations: 235.2 kB / 1.16 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/1.211, allocations: 16.64 kB / 1.16 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/1.211, allocations: 16.66 kB / 1.161 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/1.211, allocations: 319.8 kB / 1.161 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/1.211, allocations: 0 / 1.161 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/1.211, allocations: 4 kB / 1.161 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/1.211, allocations: 19.98 kB / 1.161 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/1.212, allocations: 251.7 kB / 1.161 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/1.213, allocations: 1.641 MB / 1.163 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/1.214, allocations: 407.2 kB / 1.163 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/1.214, allocations: 85.11 kB / 1.163 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/1.214, allocations: 39.95 kB / 1.163 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/1.214, allocations: 0 / 1.163 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0006808/1.215, allocations: 308.5 kB / 1.163 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/1.215, allocations: 81.11 kB / 1.164 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/1.215, allocations: 148.8 kB / 1.164 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.215, allocations: 33.7 kB / 1.164 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/1.215, allocations: 152.8 kB / 1.164 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/1.215, allocations: 55.5 kB / 1.164 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/1.215, allocations: 0 / 1.164 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/1.215, allocations: 335 kB / 1.164 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/1.215, allocations: 79.94 kB / 1.164 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/1.215, allocations: 145.3 kB / 1.164 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/1.215, allocations: 101 kB / 1.165 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.216, allocations: 0 / 1.165 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003889/1.216, allocations: 266.6 kB / 1.165 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002359/1.216, allocations: 0.961 MB / 1.166 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.216, allocations: 7.953 kB / 1.166 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.216, allocations: 10.28 kB / 1.166 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/1.216, allocations: 59.89 kB / 1.166 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/1.216, allocations: 4 kB / 1.166 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/1.217, allocations: 15.89 kB / 1.166 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/1.217, allocations: 16 kB / 1.166 GB, free: 288 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/1.217, allocations: 4 kB / 1.166 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002684/1.217, allocations: 204.8 kB / 1.166 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/1.217, allocations: 4 kB / 1.166 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.059e-06/1.217, allocations: 7.984 kB / 1.166 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/1.217, allocations: 51.91 kB / 1.166 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.217, allocations: 9.109 kB / 1.166 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/1.217, allocations: 17.05 kB / 1.166 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/1.217, allocations: 11.94 kB / 1.166 GB, free: 15.98 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 () * 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.0001921/1.218, allocations: 228.9 kB / 1.166 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/1.218, allocations: 15.81 kB / 1.166 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/1.218, allocations: 195.8 kB / 1.167 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.218, allocations: 9.062 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.218, allocations: 0 / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.218, allocations: 3.984 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/1.219, allocations: 0.965 MB / 1.168 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.219, allocations: 0 / 1.168 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/1.219, allocations: 39.92 kB / 1.168 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/1.22, allocations: 4.438 kB / 1.168 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/1.22, allocations: 9 kB / 1.168 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/1.22, allocations: 8.125 kB / 1.168 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.22, allocations: 4 kB / 1.168 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005919/1.22, allocations: 0.5811 MB / 1.168 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.22, allocations: 112.9 kB / 1.168 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/1.22, allocations: 4 kB / 1.168 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/1.221, allocations: 11.98 kB / 1.168 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/1.221, allocations: 23.88 kB / 1.168 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/1.221, allocations: 8.875 kB / 1.168 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001237/1.221, allocations: 132.5 kB / 1.168 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.31e-07/1.221, allocations: 0 / 1.168 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005748/1.221, allocations: 91.94 kB / 1.169 GB, free: 13.27 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 () * 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.001259/1.223, allocations: 2.029 MB / 1.171 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004876/1.223, allocations: 304.1 kB / 1.171 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.223, allocations: 4 kB / 1.171 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/1.223, allocations: 79.81 kB / 1.171 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/1.224, allocations: 25.55 kB / 1.171 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/1.226, allocations: 2.744 MB / 1.174 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/1.227, allocations: 0.7519 MB / 1.174 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002361/1.227, allocations: 79.02 kB / 1.174 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/1.227, allocations: 51.41 kB / 1.174 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/1.227, allocations: 0 / 1.174 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/1.244, allocations: 3.327 MB / 1.178 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/1.244, allocations: 220.1 kB / 1.178 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.982, allocations: 0 / 1.178 GB, free: 3.566 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)