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.096/2.096, allocations: 285.4 MB / 298 MB, free: 5.965 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.00127/0.00127, allocations: 172.9 kB / 366.4 MB, free: 2.098 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.876/1.876, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0009626/0.000963, allocations: 99.08 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.304e-05/5.358e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9474/0.9474, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2685/1.216, allocations: 181 MB / 1.148 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005019/1.217, allocations: 93.53 kB / 1.148 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.133/2.35, allocations: 159.7 MB / 1.304 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.875e-06/2.35, allocations: 7.719 kB / 1.304 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003146/2.35, allocations: 104.2 kB / 1.304 GB, free: 192.4 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01503/2.365, allocations: 3.337 MB / 1.307 GB, free: 191 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/2.365, allocations: 10.19 kB / 1.307 GB, free: 191 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003701/2.369, allocations: 0.639 MB / 1.308 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008449/2.378, allocations: 0.9629 MB / 1.309 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009841/2.388, allocations: 2.291 MB / 1.311 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007166/2.388, allocations: 328.3 kB / 1.311 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003301/2.392, allocations: 424.5 kB / 1.312 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02511/2.417, allocations: 6.607 MB / 1.318 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/2.417, allocations: 14.81 kB / 1.318 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/2.418, allocations: 185.9 kB / 1.318 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003181/2.419, allocations: 251.6 kB / 1.319 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/2.431, allocations: 5.226 MB / 1.324 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04789/2.479, allocations: 32.49 MB / 1.355 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/2.483, allocations: 1.851 MB / 1.357 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/2.485, allocations: 1.084 MB / 1.358 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/2.485, allocations: 100.2 kB / 1.358 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/2.485, allocations: 43.16 kB / 1.358 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=86): time 5.319e-06/2.485, allocations: 0 / 1.358 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89): time 0.01149/2.497, allocations: 4.041 MB / 1.362 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/2.497, allocations: 140.1 kB / 1.362 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/2.5, allocations: 1.453 MB / 1.364 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002514/2.5, allocations: 41.3 kB / 1.364 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/2.501, allocations: 1.906 MB / 1.366 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004862/2.501, allocations: 336.5 kB / 1.366 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/2.502, allocations: 43.91 kB / 1.366 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001908/2.502, allocations: 398.2 kB / 1.367 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/2.504, allocations: 1.078 MB / 1.368 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/2.506, allocations: 2.155 MB / 1.37 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/2.508, allocations: 1.515 MB / 1.371 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-05/2.508, allocations: 9.781 kB / 1.371 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006207/2.514, allocations: 3.262 MB / 1.374 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003998/2.518, allocations: 13.42 MB / 1.387 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-05/2.519, allocations: 31.38 kB / 1.387 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001005/2.519, allocations: 53.38 kB / 1.388 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/2.522, allocations: 0.6239 MB / 1.388 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-05/2.522, allocations: 75.72 kB / 1.388 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/2.526, allocations: 367.5 kB / 1.389 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/2.527, allocations: 110.8 kB / 1.389 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/2.527, allocations: 5.906 kB / 1.389 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006568/2.534, allocations: 2.713 MB / 1.391 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/2.534, allocations: 36.55 kB / 1.391 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.675e-05/2.534, allocations: 52.09 kB / 1.391 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00365/2.538, allocations: 0.5541 MB / 1.392 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.757e-05/2.538, allocations: 68.39 kB / 1.392 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/2.541, allocations: 265.7 kB / 1.392 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004937/2.542, allocations: 109.1 kB / 1.392 GB, free: 135.9 MB / 0.8542 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.00109/2.543, allocations: 251.2 kB / 1.393 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008523/2.544, allocations: 156.8 kB / 1.393 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/2.549, allocations: 1.887 MB / 1.395 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/2.549, allocations: 11.09 kB / 1.395 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/2.549, allocations: 0 / 1.395 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/2.549, allocations: 10.36 kB / 1.395 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0211/2.57, allocations: 7.726 MB / 1.402 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/2.57, allocations: 7.281 kB / 1.402 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/2.573, allocations: 337.1 kB / 1.403 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.678e-05/2.573, allocations: 11.38 kB / 1.403 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/2.573, allocations: 23.62 kB / 1.403 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-05/2.573, allocations: 14.95 kB / 1.403 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/2.573, allocations: 15.14 kB / 1.403 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/2.578, allocations: 2.718 MB / 1.405 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/2.58, allocations: 457 kB / 1.406 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005069/2.58, allocations: 25.41 kB / 1.406 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/2.582, allocations: 167.9 kB / 1.406 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/2.583, allocations: 78.53 kB / 1.406 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/2.583, allocations: 27.81 kB / 1.406 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002327/2.585, allocations: 1.071 MB / 1.407 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.233e-06/2.585, allocations: 0 / 1.407 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007691/2.593, allocations: 1.237 MB / 1.408 GB, free: 128.4 MB / 0.8542 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.003755/2.597, allocations: 5.207 MB / 1.413 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005583/2.602, allocations: 3.796 MB / 1.417 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/2.602, allocations: 0 / 1.417 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/2.603, allocations: 0.8776 MB / 1.418 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/2.605, allocations: 374.7 kB / 1.418 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/2.62, allocations: 6.564 MB / 1.425 GB, free: 113 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002756/2.623, allocations: 2.93 MB / 1.427 GB, free: 110 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003615/2.626, allocations: 1.252 MB / 1.429 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002296/2.629, allocations: 1.276 MB / 1.43 GB, free: 107.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.275e-06/2.629, allocations: 4 kB / 1.43 GB, free: 107.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08833/2.717, allocations: 47.32 MB / 1.476 GB, free: 61.06 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/2.717, allocations: 179.5 kB / 1.476 GB, free: 60.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.343/6.06, allocations: 0 / 1.476 GB, free: 60.84 MB / 0.8542 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)