Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.5 MB / 257 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 183.4 kB / 316.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009201/0.00092, allocations: 90.47 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.653e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2029, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7592/0.9621, allocations: 175 MB / 1.056 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.9625, allocations: 95 kB / 1.056 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3702/1.333, allocations: 159.1 MB / 1.212 GB, free: 6.402 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.715e-06/1.333, allocations: 0 / 1.212 GB, free: 6.402 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001836/1.333, allocations: 99.92 kB / 1.212 GB, free: 6.305 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.008939/1.342, allocations: 3.345 MB / 1.215 GB, free: 2.898 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.342, allocations: 8.25 kB / 1.215 GB, free: 2.891 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/1.348, allocations: 0.9628 MB / 1.216 GB, free: 1.922 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005504/1.354, allocations: 2.291 MB / 1.218 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/1.354, allocations: 144 kB / 1.218 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/1.355, allocations: 259.8 kB / 1.219 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.011/1.366, allocations: 4.606 MB / 1.223 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01556/1.382, allocations: 5.988 MB / 1.229 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/1.382, allocations: 11.94 kB / 1.229 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004566/1.382, allocations: 4 kB / 1.229 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003267/1.383, allocations: 251 kB / 1.229 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03941/1.422, allocations: 31.15 MB / 1.26 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/1.425, allocations: 1.828 MB / 1.261 GB, free: 260 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4442/1.869, allocations: 1.045 MB / 1.262 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/1.87, allocations: 103.6 kB / 1.263 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/1.87, allocations: 42.38 kB / 1.263 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 3.747e-06/1.87, allocations: 0 / 1.263 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=89): time 0.009241/1.879, allocations: 4.026 MB / 1.266 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/1.879, allocations: 138.8 kB / 1.267 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/1.881, allocations: 1.296 MB / 1.268 GB, free: 226 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/1.882, allocations: 28.02 kB / 1.268 GB, free: 226 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/1.883, allocations: 1.91 MB / 1.27 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/1.883, allocations: 324.9 kB / 1.27 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/1.883, allocations: 0 / 1.27 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.884, allocations: 394.6 kB / 1.27 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/1.885, allocations: 1.044 MB / 1.271 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/1.887, allocations: 2.1 MB / 1.274 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/1.89, allocations: 1.612 MB / 1.275 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.866e-05/1.89, allocations: 10.16 kB / 1.275 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005865/1.896, allocations: 3.157 MB / 1.278 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002827/1.899, allocations: 13.42 MB / 1.291 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.504e-05/1.899, allocations: 33.91 kB / 1.291 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/1.899, allocations: 51.31 kB / 1.291 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/1.902, allocations: 0.6208 MB / 1.292 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001012/1.902, allocations: 77.25 kB / 1.292 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/1.905, allocations: 332.1 kB / 1.292 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003756/1.905, allocations: 115 kB / 1.292 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.905, allocations: 4.469 kB / 1.293 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005101/1.91, allocations: 2.567 MB / 1.295 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/1.91, allocations: 34 kB / 1.295 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.507e-05/1.91, allocations: 51.72 kB / 1.295 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/1.913, allocations: 0.5649 MB / 1.296 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001045/1.913, allocations: 67.52 kB / 1.296 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/1.915, allocations: 204.3 kB / 1.296 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002688/1.915, allocations: 115.5 kB / 1.296 GB, free: 209.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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.0006033/1.915, allocations: 188.3 kB / 1.296 GB, free: 209 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003008/1.918, allocations: 1.764 MB / 1.298 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005236/1.919, allocations: 146.9 kB / 1.298 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/1.922, allocations: 1.872 MB / 1.3 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/1.922, allocations: 9.688 kB / 1.3 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/1.922, allocations: 1.25 kB / 1.3 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/1.922, allocations: 5.781 kB / 1.3 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/1.935, allocations: 6.615 MB / 1.306 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/1.935, allocations: 7.625 kB / 1.306 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.936, allocations: 336.4 kB / 1.307 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.512e-05/1.936, allocations: 11.41 kB / 1.307 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/1.937, allocations: 15.33 kB / 1.307 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.821e-05/1.937, allocations: 14.09 kB / 1.307 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/1.937, allocations: 10.75 kB / 1.307 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/1.94, allocations: 2.691 MB / 1.309 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009654/1.941, allocations: 447.7 kB / 1.31 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000489/1.941, allocations: 18.88 kB / 1.31 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.943, allocations: 152.3 kB / 1.31 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/1.943, allocations: 78.02 kB / 1.31 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/1.943, allocations: 26.59 kB / 1.31 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001614/1.945, allocations: 0.9396 MB / 1.311 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.945, allocations: 0 / 1.311 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006185/1.951, allocations: 1.132 MB / 1.312 GB, free: 206.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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.003896/1.955, allocations: 5.183 MB / 1.317 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004807/1.96, allocations: 3.593 MB / 1.321 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.96, allocations: 3.906 kB / 1.321 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009239/1.961, allocations: 0.8453 MB / 1.321 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/1.963, allocations: 366 kB / 1.322 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.978, allocations: 6.448 MB / 1.328 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003472/1.981, allocations: 2.931 MB / 1.331 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003222/1.984, allocations: 1.244 MB / 1.332 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.986, allocations: 1.268 MB / 1.333 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/1.986, allocations: 0 / 1.333 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0697/2.056, allocations: 45.27 MB / 1.378 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/2.056, allocations: 163 kB / 1.378 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/4.695, allocations: 4 kB / 1.378 GB, free: 198.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)