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 1.651/1.651, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.00113/0.00113, allocations: 172.9 kB / 361.4 MB, free: 6.859 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.817/1.817, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001006/0.001006, allocations: 86.95 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.436e-05/2.443e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8747/0.8747, allocations: 115.3 MB / 0.9645 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/1.144, allocations: 180.3 MB / 1.141 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003707/1.144, allocations: 98.95 kB / 1.141 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.02/2.165, allocations: 159.1 MB / 1.296 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.394e-06/2.165, allocations: 0 / 1.296 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002935/2.165, allocations: 100.7 kB / 1.296 GB, free: 190.7 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.01501/2.18, allocations: 3.348 MB / 1.299 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.262e-05/2.18, allocations: 10.25 kB / 1.299 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007726/2.188, allocations: 0.9624 MB / 1.3 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008147/2.196, allocations: 2.284 MB / 1.303 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/2.197, allocations: 139 kB / 1.303 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00334/2.2, allocations: 247.6 kB / 1.303 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01772/2.218, allocations: 4.617 MB / 1.307 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02752/2.245, allocations: 5.986 MB / 1.313 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00036/2.246, allocations: 10.31 kB / 1.313 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002654/2.248, allocations: 7.625 kB / 1.313 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004326/2.249, allocations: 257.3 kB / 1.314 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05094/2.3, allocations: 31.15 MB / 1.344 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/2.303, allocations: 1.836 MB / 1.346 GB, free: 163 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/2.305, allocations: 1.053 MB / 1.347 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/2.305, allocations: 96.59 kB / 1.347 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/2.305, allocations: 46.56 kB / 1.347 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=86): time 3.767e-06/2.305, allocations: 3.938 kB / 1.347 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89): time 0.01107/2.316, allocations: 4.014 MB / 1.351 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/2.316, allocations: 145 kB / 1.351 GB, free: 160 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/2.319, allocations: 1.293 MB / 1.352 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003542/2.32, allocations: 29.61 kB / 1.352 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/2.321, allocations: 1.916 MB / 1.354 GB, free: 158 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00065/2.322, allocations: 323.3 kB / 1.354 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/2.322, allocations: 0 / 1.354 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002127/2.322, allocations: 388.7 kB / 1.355 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/2.324, allocations: 1.05 MB / 1.356 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/2.326, allocations: 2.093 MB / 1.358 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/2.329, allocations: 1.618 MB / 1.359 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/2.329, allocations: 7.688 kB / 1.359 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005319/2.335, allocations: 3.164 MB / 1.363 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.004166/2.339, allocations: 13.42 MB / 1.376 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.333e-05/2.339, allocations: 39.41 kB / 1.376 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.666e-05/2.339, allocations: 51.53 kB / 1.376 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/2.342, allocations: 0.6288 MB / 1.376 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.906e-05/2.342, allocations: 64.88 kB / 1.376 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/2.344, allocations: 324 kB / 1.377 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/2.345, allocations: 115.4 kB / 1.377 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/2.345, allocations: 5.188 kB / 1.377 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004158/2.349, allocations: 2.569 MB / 1.379 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.234e-05/2.349, allocations: 35.69 kB / 1.379 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-05/2.349, allocations: 51.12 kB / 1.379 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/2.351, allocations: 0.56 MB / 1.38 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.051e-05/2.351, allocations: 71.64 kB / 1.38 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/2.353, allocations: 203.1 kB / 1.38 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/2.353, allocations: 110.4 kB / 1.38 GB, free: 138.2 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.000615/2.354, allocations: 202.7 kB / 1.381 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002797/2.356, allocations: 1.763 MB / 1.382 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004799/2.357, allocations: 143.6 kB / 1.382 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/2.36, allocations: 1.872 MB / 1.384 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/2.36, allocations: 14.73 kB / 1.384 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/2.36, allocations: 3.844 kB / 1.384 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/2.36, allocations: 7.516 kB / 1.384 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/2.374, allocations: 6.604 MB / 1.391 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-05/2.374, allocations: 7.75 kB / 1.391 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/2.375, allocations: 339.4 kB / 1.391 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-05/2.375, allocations: 11.44 kB / 1.391 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/2.375, allocations: 14.5 kB / 1.391 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/2.376, allocations: 23.5 kB / 1.391 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/2.376, allocations: 9.156 kB / 1.391 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/2.379, allocations: 2.69 MB / 1.394 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/2.38, allocations: 449.5 kB / 1.394 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006851/2.381, allocations: 10.8 kB / 1.394 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/2.383, allocations: 148.9 kB / 1.394 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/2.383, allocations: 82.77 kB / 1.394 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.327e-05/2.383, allocations: 25.53 kB / 1.394 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002146/2.385, allocations: 0.9422 MB / 1.395 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/2.385, allocations: 0 / 1.395 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.008218/2.393, allocations: 1.132 MB / 1.396 GB, free: 131.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.004415/2.398, allocations: 5.189 MB / 1.401 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005844/2.404, allocations: 3.595 MB / 1.405 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/2.404, allocations: 0 / 1.405 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/2.405, allocations: 0.8486 MB / 1.406 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/2.408, allocations: 352.5 kB / 1.406 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/2.429, allocations: 6.45 MB / 1.412 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006138/2.436, allocations: 2.933 MB / 1.415 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004564/2.44, allocations: 1.248 MB / 1.417 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/2.442, allocations: 1.272 MB / 1.418 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.653e-06/2.442, allocations: 0 / 1.418 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08548/2.528, allocations: 45.26 MB / 1.462 GB, free: 75.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/2.528, allocations: 178.4 kB / 1.462 GB, free: 75.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.049/5.577, allocations: 0 / 1.462 GB, free: 75.3 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)