Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.767/2.767, allocations: 284.9 MB / 292.4 MB, free: 10.54 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: 184.9 kB / 360.6 MB, free: 7.266 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.142/2.142, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001071/0.001071, allocations: 100.2 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.729e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8691/0.8692, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3125/1.182, allocations: 171.6 MB / 1.131 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/1.182, allocations: 104.3 kB / 1.131 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.4174/1.6, allocations: 104.4 MB / 1.233 GB, free: 7.586 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.695e-06/1.6, allocations: 4 kB / 1.233 GB, free: 7.582 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001713/1.6, allocations: 63.98 kB / 1.233 GB, free: 7.52 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01089/1.611, allocations: 2.446 MB / 1.236 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/1.611, allocations: 8.031 kB / 1.236 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009632/1.621, allocations: 1.011 MB / 1.237 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006256/1.627, allocations: 1.652 MB / 1.238 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/1.627, allocations: 96 kB / 1.238 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/1.629, allocations: 168 kB / 1.238 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01205/1.641, allocations: 3.612 MB / 1.242 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/1.657, allocations: 4.302 MB / 1.246 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/1.657, allocations: 7.891 kB / 1.246 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006495/1.658, allocations: 0 / 1.246 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003733/1.658, allocations: 185.1 kB / 1.246 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7601/2.418, allocations: 22.26 MB / 1.268 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01155/2.43, allocations: 3.115 MB / 1.271 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/2.433, allocations: 0.8675 MB / 1.272 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/2.434, allocations: 106.1 kB / 1.272 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/2.434, allocations: 50.38 kB / 1.272 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=82): time 8.015e-06/2.434, allocations: 0 / 1.272 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82): time 0.006797/2.44, allocations: 1.474 MB / 1.274 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/2.441, allocations: 218.1 kB / 1.274 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/2.444, allocations: 0.9494 MB / 1.275 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000373/2.444, allocations: 27.08 kB / 1.275 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/2.446, allocations: 1.284 MB / 1.276 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006875/2.447, allocations: 284.9 kB / 1.276 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/2.447, allocations: 0 / 1.276 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003162/2.447, allocations: 411.5 kB / 1.277 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/2.45, allocations: 0.819 MB / 1.277 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00391/2.454, allocations: 1.432 MB / 1.279 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007053/2.461, allocations: 1.396 MB / 1.28 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.925e-05/2.461, allocations: 5.75 kB / 1.28 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01326/2.475, allocations: 2.546 MB / 1.283 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002678/2.477, allocations: 7.494 MB / 1.29 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/2.478, allocations: 19.97 kB / 1.29 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/2.478, allocations: 31.72 kB / 1.29 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005743/2.484, allocations: 466.6 kB / 1.29 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001147/2.484, allocations: 41.19 kB / 1.291 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/2.489, allocations: 314 kB / 1.291 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000616/2.489, allocations: 79.59 kB / 1.291 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/2.489, allocations: 4.719 kB / 1.291 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01163/2.501, allocations: 2.24 MB / 1.293 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/2.501, allocations: 20.86 kB / 1.293 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.799e-05/2.501, allocations: 29.84 kB / 1.293 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00504/2.506, allocations: 451.3 kB / 1.294 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.124e-05/2.507, allocations: 42.23 kB / 1.294 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003703/2.51, allocations: 220.7 kB / 1.294 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004086/2.511, allocations: 76.14 kB / 1.294 GB, free: 177.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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.0008121/2.512, allocations: 164.1 kB / 1.294 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00681/2.518, allocations: 1.461 MB / 1.295 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000788/2.519, allocations: 114 kB / 1.296 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006787/2.526, allocations: 1.532 MB / 1.297 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/2.526, allocations: 9.531 kB / 1.297 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/2.526, allocations: 1.312 kB / 1.297 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/2.526, allocations: 7.078 kB / 1.297 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/2.543, allocations: 3.761 MB / 1.301 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/2.543, allocations: 1.906 kB / 1.301 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/2.545, allocations: 231.6 kB / 1.301 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-05/2.545, allocations: 8.844 kB / 1.301 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/2.546, allocations: 3.047 kB / 1.301 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/2.546, allocations: 5.891 kB / 1.301 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/2.546, allocations: 8.422 kB / 1.301 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003834/2.549, allocations: 1.955 MB / 1.303 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/2.551, allocations: 358.9 kB / 1.303 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/2.551, allocations: 3.812 kB / 1.303 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/2.553, allocations: 110.7 kB / 1.303 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/2.553, allocations: 57.45 kB / 1.303 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.153e-05/2.553, allocations: 23.12 kB / 1.303 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001755/2.555, allocations: 0.7363 MB / 1.304 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.11e-07/2.555, allocations: 2.344 kB / 1.304 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006114/2.561, allocations: 1.282 MB / 1.305 GB, free: 175.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 85 * 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.004517/2.566, allocations: 2.929 MB / 1.308 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007046/2.573, allocations: 2.762 MB / 1.311 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/2.573, allocations: 0 / 1.311 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/2.574, allocations: 0.6215 MB / 1.312 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/2.577, allocations: 163.1 kB / 1.312 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/2.592, allocations: 4.395 MB / 1.316 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004128/2.596, allocations: 2.264 MB / 1.318 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005809/2.602, allocations: 1.156 MB / 1.319 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/2.604, allocations: 0.8219 MB / 1.32 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.433e-06/2.604, allocations: 0 / 1.32 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09679/2.701, allocations: 31.51 MB / 1.351 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/2.702, allocations: 165 kB / 1.351 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.332/6.034, allocations: 4 kB / 1.351 GB, free: 168.9 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)