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 1.707/1.707, allocations: 287.4 MB / 302.5 MB, free: 8.191 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.001141/0.001141, allocations: 176.9 kB / 371.1 MB, free: 10.83 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.371/1.371, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008256/0.0008257, allocations: 97.27 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005741/0.0005743, allocations: 15.06 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1885, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01206/0.2006, allocations: 15.61 MB / 0.994 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006208/0.2068, allocations: 5.572 MB / 0.9994 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006819/0.2075, allocations: 43.88 kB / 0.9995 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006027/0.2082, allocations: 321.7 kB / 0.9998 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.2095, allocations: 0.6379 MB / 1 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.2111, allocations: 0.6977 MB / 1.001 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0044/0.2155, allocations: 4.969 MB / 1.006 GB, free: 164 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.2273, allocations: 7.876 MB / 1.014 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/0.2294, allocations: 1.312 MB / 1.015 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.2317, allocations: 1.881 MB / 1.017 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.2321, allocations: 192 kB / 1.017 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000947/0.233, allocations: 415.6 kB / 1.017 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.2342, allocations: 1.38 MB / 1.019 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005486/0.2348, allocations: 0.5628 MB / 1.019 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.239, allocations: 5.334 MB / 1.024 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.239, allocations: 0 / 1.024 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/0.239, allocations: 0 / 1.024 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.805e-05/0.2391, allocations: 0 / 1.024 GB, free: 13.1 MB / 0.6511 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.004192/0.2433, allocations: 2.479 MB / 1.027 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2434, allocations: 11.97 kB / 1.027 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005739/0.2439, allocations: 466.7 kB / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004584/0.2485, allocations: 1.137 MB / 1.028 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.2511, allocations: 1.608 MB / 1.03 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.2513, allocations: 226.4 kB / 1.03 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004758/0.2518, allocations: 292.3 kB / 1.03 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008182/0.2599, allocations: 5.284 MB / 1.036 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.218e-05/0.26, allocations: 8 kB / 1.036 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.2603, allocations: 124 kB / 1.036 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/0.2605, allocations: 201.1 kB / 1.036 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008125/0.2687, allocations: 4.747 MB / 1.041 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02811/0.2968, allocations: 23.21 MB / 1.063 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3515/0.6484, allocations: 3.174 MB / 1.066 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.6503, allocations: 0.9091 MB / 1.067 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.6504, allocations: 107.1 kB / 1.067 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.6505, allocations: 49.36 kB / 1.067 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/0.6505, allocations: 0 / 1.067 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.003332/0.6538, allocations: 2.087 MB / 1.069 GB, free: 82.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.6539, allocations: 219.6 kB / 1.07 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.6554, allocations: 1.092 MB / 1.071 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.6554, allocations: 41.86 kB / 1.071 GB, free: 81.58 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006808/0.6561, allocations: 1.281 MB / 1.072 GB, free: 80.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.6563, allocations: 304.6 kB / 1.072 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.6564, allocations: 33.75 kB / 1.072 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6566, allocations: 408.2 kB / 1.073 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.6579, allocations: 0.8793 MB / 1.074 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.6595, allocations: 1.508 MB / 1.075 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.6622, allocations: 2.363 MB / 1.077 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.6622, allocations: 5.844 kB / 1.077 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003832/0.6661, allocations: 2.488 MB / 1.08 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.6664, allocations: 0.64 MB / 1.08 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/0.6664, allocations: 20.75 kB / 1.08 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.238e-05/0.6665, allocations: 32.25 kB / 1.08 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.6683, allocations: 467.1 kB / 1.081 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-05/0.6683, allocations: 40.88 kB / 1.081 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.6698, allocations: 348.1 kB / 1.081 GB, free: 75.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.67, allocations: 79.06 kB / 1.081 GB, free: 75.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.67, allocations: 3.188 kB / 1.081 GB, free: 75.36 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00327/0.6733, allocations: 2.218 MB / 1.084 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/0.6733, allocations: 18.41 kB / 1.084 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-05/0.6734, allocations: 32.88 kB / 1.084 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.6748, allocations: 440.6 kB / 1.084 GB, free: 74.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.641e-05/0.6749, allocations: 48.36 kB / 1.084 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.676, allocations: 247.4 kB / 1.084 GB, free: 74.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.6761, allocations: 78.09 kB / 1.084 GB, free: 74.41 MB / 0.6823 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 () * Number of clocked 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.002254/0.6784, allocations: 1.283 MB / 1.086 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.6787, allocations: 97.75 kB / 1.086 GB, free: 73.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.681, allocations: 1.564 MB / 1.087 GB, free: 73.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.681, allocations: 9.969 kB / 1.087 GB, free: 73.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.681, allocations: 2.219 kB / 1.087 GB, free: 73.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.681, allocations: 6.234 kB / 1.087 GB, free: 73.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006268/0.6873, allocations: 4.502 MB / 1.092 GB, free: 71.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.6873, allocations: 1.969 kB / 1.092 GB, free: 71.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000991/0.6883, allocations: 249.4 kB / 1.092 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.6883, allocations: 4.594 kB / 1.092 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.6884, allocations: 17.64 kB / 1.092 GB, free: 71.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.6884, allocations: 8.922 kB / 1.092 GB, free: 71.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.6884, allocations: 2.312 kB / 1.092 GB, free: 71.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.6902, allocations: 1.915 MB / 1.094 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/0.6907, allocations: 361.9 kB / 1.094 GB, free: 69.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.6908, allocations: 13.81 kB / 1.094 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008535/0.6917, allocations: 128.9 kB / 1.094 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.6918, allocations: 56.06 kB / 1.094 GB, free: 69.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.6919, allocations: 20.28 kB / 1.094 GB, free: 69.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001028/0.6929, allocations: 0.7898 MB / 1.095 GB, free: 69.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6929, allocations: 0 / 1.095 GB, free: 69.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002878/0.6958, allocations: 1.305 MB / 1.096 GB, free: 69.17 MB / 0.6823 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 () * Number of clocked 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.002174/0.698, allocations: 2.485 MB / 1.099 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004377/0.7024, allocations: 2.971 MB / 1.102 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7024, allocations: 5.219 kB / 1.102 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.7033, allocations: 0.6577 MB / 1.102 GB, free: 66.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.7048, allocations: 184.6 kB / 1.103 GB, free: 66.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.7195, allocations: 11.02 MB / 1.113 GB, free: 60.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/0.7215, allocations: 2.203 MB / 1.115 GB, free: 59.31 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002491/0.724, allocations: 1.098 MB / 1.117 GB, free: 58.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008307/0.7249, allocations: 0.8414 MB / 1.117 GB, free: 58.08 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/0.7249, allocations: 0 / 1.117 GB, free: 58.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5946/1.319, allocations: 30.67 MB / 1.147 GB, free: 30.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/1.32, allocations: 204.1 kB / 1.147 GB, free: 30.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/4.373, allocations: 3.625 kB / 1.147 GB, free: 30.1 MB / 0.6823 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)