Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001101/0.001101, allocations: 192.7 kB / 366.7 MB, free: 1.652 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.726/1.726, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008724/0.0008721, allocations: 91.11 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.306e-05/2.308e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.805, allocations: 116.3 MB / 0.9733 GB, free: 75.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2521/1.057, allocations: 172.8 MB / 1.142 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004385/1.058, allocations: 101.5 kB / 1.142 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2789/1.337, allocations: 104.4 MB / 1.244 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.505e-06/1.337, allocations: 0 / 1.244 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002307/1.337, allocations: 67.94 kB / 1.244 GB, free: 15.89 MB / 0.8542 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.01021/1.347, allocations: 2.448 MB / 1.247 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/1.347, allocations: 11.97 kB / 1.247 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007492/1.355, allocations: 1.015 MB / 1.248 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005571/1.36, allocations: 1.648 MB / 1.249 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/1.361, allocations: 96 kB / 1.249 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/1.362, allocations: 172 kB / 1.249 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01105/1.373, allocations: 3.612 MB / 1.253 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/1.391, allocations: 4.297 MB / 1.257 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/1.391, allocations: 0 / 1.257 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001402/1.392, allocations: 11.94 kB / 1.257 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003308/1.393, allocations: 189.1 kB / 1.257 GB, free: 2.199 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7305/2.123, allocations: 22.25 MB / 1.279 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005221/2.128, allocations: 3.113 MB / 1.282 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/2.13, allocations: 0.8687 MB / 1.283 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/2.13, allocations: 106.4 kB / 1.283 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/2.13, allocations: 49.52 kB / 1.283 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=82): time 5.661e-06/2.13, allocations: 3.938 kB / 1.283 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82): time 0.004275/2.134, allocations: 1.48 MB / 1.285 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/2.135, allocations: 220 kB / 1.285 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/2.137, allocations: 0.9459 MB / 1.286 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/2.137, allocations: 26.67 kB / 1.286 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/2.139, allocations: 1.282 MB / 1.287 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/2.139, allocations: 293.5 kB / 1.287 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/2.139, allocations: 1.344 kB / 1.287 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002527/2.139, allocations: 405.9 kB / 1.288 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/2.141, allocations: 0.8194 MB / 1.288 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/2.143, allocations: 1.432 MB / 1.29 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/2.147, allocations: 1.397 MB / 1.291 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.461e-05/2.147, allocations: 9.625 kB / 1.291 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006241/2.153, allocations: 2.54 MB / 1.294 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002456/2.155, allocations: 7.488 MB / 1.301 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.679e-05/2.156, allocations: 19.94 kB / 1.301 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/2.156, allocations: 34.33 kB / 1.301 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/2.158, allocations: 466.8 kB / 1.302 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.154e-05/2.158, allocations: 45.89 kB / 1.302 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/2.16, allocations: 314.5 kB / 1.302 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/2.16, allocations: 78.61 kB / 1.302 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/2.16, allocations: 3.75 kB / 1.302 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004662/2.165, allocations: 2.245 MB / 1.304 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/2.165, allocations: 19.67 kB / 1.304 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.311e-05/2.165, allocations: 33.72 kB / 1.304 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/2.167, allocations: 441.9 kB / 1.305 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.931e-05/2.167, allocations: 42.64 kB / 1.305 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/2.168, allocations: 218.6 kB / 1.305 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/2.168, allocations: 78.97 kB / 1.305 GB, free: 172.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.0005141/2.169, allocations: 159.3 kB / 1.305 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003091/2.172, allocations: 1.474 MB / 1.307 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/2.172, allocations: 98.11 kB / 1.307 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/2.175, allocations: 1.529 MB / 1.308 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/2.175, allocations: 10.06 kB / 1.308 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/2.176, allocations: 3.031 kB / 1.308 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/2.176, allocations: 5.781 kB / 1.308 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009476/2.185, allocations: 3.759 MB / 1.312 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/2.185, allocations: 2.188 kB / 1.312 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/2.186, allocations: 235.1 kB / 1.312 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/2.186, allocations: 5.219 kB / 1.312 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/2.186, allocations: 4.516 kB / 1.312 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.711e-05/2.186, allocations: 11.55 kB / 1.312 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/2.186, allocations: 1 kB / 1.312 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/2.189, allocations: 1.952 MB / 1.314 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007013/2.19, allocations: 369.5 kB / 1.314 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/2.19, allocations: 3.656 kB / 1.314 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/2.191, allocations: 111.4 kB / 1.314 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/2.191, allocations: 51.92 kB / 1.314 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.617e-05/2.191, allocations: 22.97 kB / 1.315 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00137/2.193, allocations: 0.7391 MB / 1.315 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/2.193, allocations: 0 / 1.315 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005924/2.199, allocations: 1.284 MB / 1.316 GB, free: 170.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.003543/2.202, allocations: 2.934 MB / 1.319 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004983/2.207, allocations: 2.763 MB / 1.322 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/2.207, allocations: 6.75 kB / 1.322 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000841/2.208, allocations: 0.6181 MB / 1.323 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/2.209, allocations: 163 kB / 1.323 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/2.222, allocations: 4.392 MB / 1.327 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003328/2.225, allocations: 2.256 MB / 1.329 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003293/2.229, allocations: 1.157 MB / 1.33 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/2.23, allocations: 0.8202 MB / 1.331 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.715e-06/2.23, allocations: 0 / 1.331 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06087/2.291, allocations: 31.52 MB / 1.362 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/2.291, allocations: 163.7 kB / 1.362 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/5.094, allocations: 0 / 1.362 GB, free: 162.6 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)