Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001079/0.001079, allocations: 177.1 kB / 377.1 MB, free: 1.539 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.739/1.739, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.001084/0.001084, allocations: 85.47 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004525, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3058, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7112/1.017, allocations: 182 MB / 1.166 GB, free: 436 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/1.017, allocations: 100.6 kB / 1.166 GB, free: 336 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.4029/1.42, allocations: 160.4 MB / 1.323 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.195e-06/1.42, allocations: 0 / 1.323 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000219/1.421, allocations: 107.9 kB / 1.323 GB, free: 14.34 MB / 0.9011 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.0117/1.432, allocations: 3.48 MB / 1.326 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/1.432, allocations: 16.02 kB / 1.326 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003686/1.436, allocations: 0.6402 MB / 1.327 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006478/1.443, allocations: 0.955 MB / 1.328 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006933/1.449, allocations: 2.294 MB / 1.33 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003883/1.45, allocations: 328.6 kB / 1.331 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/1.452, allocations: 424 kB / 1.331 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/1.468, allocations: 6.695 MB / 1.338 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/1.468, allocations: 15.84 kB / 1.338 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005673/1.469, allocations: 180 kB / 1.338 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002814/1.469, allocations: 255 kB / 1.338 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/1.481, allocations: 5.324 MB / 1.343 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5354/2.016, allocations: 32.47 MB / 1.375 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/2.019, allocations: 1.864 MB / 1.377 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/2.019, allocations: 100 kB / 1.377 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/2.019, allocations: 49.83 kB / 1.377 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 3.096e-06/2.019, allocations: 2.594 kB / 1.377 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=89): time 0.006793/2.026, allocations: 4.764 MB / 1.381 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/2.026, allocations: 144.5 kB / 1.382 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/2.028, allocations: 1.463 MB / 1.383 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/2.029, allocations: 45.8 kB / 1.383 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001336/2.03, allocations: 1.903 MB / 1.385 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/2.03, allocations: 334.9 kB / 1.385 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/2.03, allocations: 41.34 kB / 1.385 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001492/2.031, allocations: 392 kB / 1.386 GB, free: 166 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/2.032, allocations: 1.097 MB / 1.387 GB, free: 166 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/2.035, allocations: 2.161 MB / 1.389 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/2.037, allocations: 1.518 MB / 1.39 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/2.037, allocations: 9.75 kB / 1.39 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005335/2.042, allocations: 3.281 MB / 1.394 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002495/2.045, allocations: 13.42 MB / 1.407 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.37e-05/2.045, allocations: 33.94 kB / 1.407 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001019/2.045, allocations: 55.23 kB / 1.407 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/2.047, allocations: 0.628 MB / 1.407 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.849e-05/2.048, allocations: 70.16 kB / 1.407 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/2.05, allocations: 367.1 kB / 1.408 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/2.051, allocations: 115.3 kB / 1.408 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/2.051, allocations: 4.344 kB / 1.408 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003945/2.055, allocations: 2.733 MB / 1.411 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.936e-05/2.055, allocations: 33.56 kB / 1.411 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.974e-05/2.055, allocations: 52.78 kB / 1.411 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/2.056, allocations: 0.5552 MB / 1.411 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.81e-05/2.057, allocations: 67.44 kB / 1.411 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/2.058, allocations: 259.2 kB / 1.411 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/2.059, allocations: 108.4 kB / 1.412 GB, free: 150.5 MB / 0.9323 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 () * Number of clocked 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.003653/2.062, allocations: 1.705 MB / 1.413 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005119/2.063, allocations: 158.9 kB / 1.413 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/2.066, allocations: 1.888 MB / 1.415 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/2.066, allocations: 10.34 kB / 1.415 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/2.066, allocations: 4.328 kB / 1.415 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/2.066, allocations: 4.359 kB / 1.415 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/2.078, allocations: 8.758 MB / 1.424 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/2.078, allocations: 14.16 kB / 1.424 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/2.079, allocations: 331.8 kB / 1.424 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/2.079, allocations: 13.42 kB / 1.424 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.322e-05/2.079, allocations: 30.33 kB / 1.424 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/2.079, allocations: 19.55 kB / 1.424 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/2.079, allocations: 12.5 kB / 1.424 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/2.082, allocations: 2.898 MB / 1.427 GB, free: 147.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009911/2.083, allocations: 457.8 kB / 1.427 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/2.083, allocations: 30.77 kB / 1.428 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/2.084, allocations: 167.4 kB / 1.428 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/2.084, allocations: 82.77 kB / 1.428 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/2.084, allocations: 37.59 kB / 1.428 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001295/2.085, allocations: 1.087 MB / 1.429 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.6e-07/2.085, allocations: 0 / 1.429 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004331/2.09, allocations: 1.238 MB / 1.43 GB, free: 147.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (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.003042/2.093, allocations: 5.921 MB / 1.436 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005057/2.098, allocations: 3.789 MB / 1.44 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/2.098, allocations: 3.156 kB / 1.44 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009835/2.099, allocations: 0.8841 MB / 1.44 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/2.101, allocations: 377.9 kB / 1.441 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02621/2.127, allocations: 39.41 MB / 1.479 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002768/2.13, allocations: 2.928 MB / 1.482 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00308/2.133, allocations: 1.206 MB / 1.483 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/2.134, allocations: 1.282 MB / 1.485 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of SimCode: time 8.72e-07/2.134, allocations: 0 / 1.485 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08927/2.224, allocations: 45.17 MB / 1.529 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/2.224, allocations: 201.6 kB / 1.529 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/5.275, allocations: 0 / 1.529 GB, free: 110.4 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)