Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2.023/2.023, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001149/0.001149, allocations: 185.1 kB / 371.8 MB, free: 10.27 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.8/1.8, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.001149/0.00115, allocations: 91.62 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004407, allocations: 11.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2303, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8045/1.035, allocations: 181.1 MB / 1.156 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.035, allocations: 103.8 kB / 1.156 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4591/1.494, allocations: 160.4 MB / 1.313 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/1.494, allocations: 4 kB / 1.313 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003623/1.495, allocations: 99.98 kB / 1.313 GB, free: 11.72 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01632/1.511, allocations: 3.482 MB / 1.317 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/1.511, allocations: 8.031 kB / 1.317 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003826/1.515, allocations: 0.6402 MB / 1.317 GB, free: 7.508 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009023/1.524, allocations: 0.9628 MB / 1.318 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009408/1.533, allocations: 2.291 MB / 1.32 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005002/1.534, allocations: 328.6 kB / 1.321 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002374/1.536, allocations: 420 kB / 1.321 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02338/1.56, allocations: 6.695 MB / 1.328 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002484/1.56, allocations: 19.78 kB / 1.328 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001848/1.562, allocations: 180 kB / 1.328 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004839/1.563, allocations: 262.9 kB / 1.328 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01789/1.58, allocations: 5.32 MB / 1.333 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06297/1.643, allocations: 32.47 MB / 1.365 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005075/1.649, allocations: 1.872 MB / 1.367 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/1.649, allocations: 101.8 kB / 1.367 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/1.649, allocations: 47.23 kB / 1.367 GB, free: 1.355 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=86): time 5.029e-06/1.649, allocations: 0 / 1.367 GB, free: 1.355 MB / 0.8855 GB Notification: Performance of matching and sorting (n=89): time 0.01419/1.663, allocations: 4.767 MB / 1.372 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/1.663, allocations: 145.2 kB / 1.372 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003864/1.667, allocations: 1.459 MB / 1.373 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002857/1.668, allocations: 46.2 kB / 1.373 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002112/1.67, allocations: 1.909 MB / 1.375 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006486/1.67, allocations: 339.5 kB / 1.375 GB, free: 8.578 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/1.671, allocations: 44 kB / 1.375 GB, free: 8.535 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003087/1.671, allocations: 386 kB / 1.376 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002862/1.674, allocations: 1.093 MB / 1.377 GB, free: 7.055 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003837/1.678, allocations: 2.161 MB / 1.379 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/1.68, allocations: 1.519 MB / 1.38 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/1.68, allocations: 12 kB / 1.38 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006219/1.687, allocations: 3.285 MB / 1.384 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00558/1.692, allocations: 13.41 MB / 1.397 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.896e-05/1.692, allocations: 36 kB / 1.397 GB, free: 1.043 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.308e-05/1.692, allocations: 51.94 kB / 1.397 GB, free: 0.9922 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/1.695, allocations: 0.6239 MB / 1.397 GB, free: 376 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.783e-05/1.695, allocations: 71.72 kB / 1.398 GB, free: 304 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/1.698, allocations: 366.8 kB / 1.398 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/1.698, allocations: 115.9 kB / 1.398 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.698, allocations: 4 kB / 1.398 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00469/1.703, allocations: 2.733 MB / 1.401 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-05/1.703, allocations: 32.97 kB / 1.401 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.651e-05/1.703, allocations: 52 kB / 1.401 GB, free: 13.01 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/1.705, allocations: 0.5537 MB / 1.401 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.685e-05/1.705, allocations: 71.72 kB / 1.401 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/1.707, allocations: 251 kB / 1.402 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/1.707, allocations: 119.9 kB / 1.402 GB, free: 12.02 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.003331/1.711, allocations: 1.698 MB / 1.403 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/1.711, allocations: 154.1 kB / 1.404 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/1.714, allocations: 1.891 MB / 1.405 GB, free: 8.254 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.714, allocations: 8 kB / 1.405 GB, free: 8.246 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.714, allocations: 8 kB / 1.405 GB, free: 8.238 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.714, allocations: 7.969 kB / 1.405 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/1.734, allocations: 8.761 MB / 1.414 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-05/1.734, allocations: 8.938 kB / 1.414 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.735, allocations: 339.3 kB / 1.414 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.483e-05/1.735, allocations: 16 kB / 1.414 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/1.736, allocations: 24 kB / 1.414 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.932e-05/1.736, allocations: 23.92 kB / 1.414 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/1.736, allocations: 8 kB / 1.414 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/1.739, allocations: 2.897 MB / 1.417 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/1.741, allocations: 458.8 kB / 1.418 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004688/1.741, allocations: 28 kB / 1.418 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/1.742, allocations: 167.7 kB / 1.418 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/1.743, allocations: 84.27 kB / 1.418 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/1.743, allocations: 32 kB / 1.418 GB, free: 10.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002142/1.745, allocations: 1.092 MB / 1.419 GB, free: 9.695 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.61e-07/1.745, allocations: 3.938 kB / 1.419 GB, free: 9.691 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006485/1.751, allocations: 1.227 MB / 1.42 GB, free: 8.465 MB / 0.948 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.005107/1.757, allocations: 5.917 MB / 1.426 GB, free: 2.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.4436/2.2, allocations: 3.788 MB / 1.43 GB, free: 254.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/2.2, allocations: 1.062 kB / 1.43 GB, free: 254.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/2.202, allocations: 0.8868 MB / 1.431 GB, free: 254.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/2.204, allocations: 370.7 kB / 1.431 GB, free: 254.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03348/2.237, allocations: 39.41 MB / 1.469 GB, free: 225.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004624/2.242, allocations: 2.925 MB / 1.472 GB, free: 224.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004032/2.246, allocations: 1.203 MB / 1.473 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/2.248, allocations: 1.285 MB / 1.475 GB, free: 224.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/2.248, allocations: 0.9375 kB / 1.475 GB, free: 224.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07834/2.326, allocations: 45.19 MB / 1.519 GB, free: 223.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/2.327, allocations: 205 kB / 1.519 GB, free: 222.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.036/5.362, allocations: 4 kB / 1.519 GB, free: 222.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)