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_N.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_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.745/1.745, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001094/0.001094, allocations: 184.8 kB / 361.4 MB, free: 6.801 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.697/1.697, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008588/0.000859, allocations: 98.67 kB / 0.733 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.452e-05, allocations: 4 kB / 0.8518 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8256/0.8257, allocations: 115.3 MB / 0.9645 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2621/1.088, allocations: 179.6 MB / 1.14 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004449/1.088, allocations: 95.94 kB / 1.14 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2949/1.383, allocations: 111.4 MB / 1.249 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.068e-06/1.383, allocations: 0 / 1.249 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003157/1.384, allocations: 63.94 kB / 1.249 GB, free: 7.855 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01286/1.397, allocations: 2.427 MB / 1.251 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.646e-05/1.397, allocations: 8.031 kB / 1.251 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006246/1.403, allocations: 0.6923 MB / 1.252 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005776/1.409, allocations: 1.613 MB / 1.253 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/1.409, allocations: 92 kB / 1.253 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/1.411, allocations: 172 kB / 1.254 GB, free: 2.75 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.7849/2.196, allocations: 3.198 MB / 1.257 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/2.211, allocations: 4.122 MB / 1.261 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/2.211, allocations: 8.125 kB / 1.261 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003212/2.211, allocations: 5.844 kB / 1.261 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003486/2.212, allocations: 181.6 kB / 1.261 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03259/2.244, allocations: 22.13 MB / 1.283 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003923/2.248, allocations: 1.519 MB / 1.284 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/2.251, allocations: 1.002 MB / 1.285 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/2.251, allocations: 96.81 kB / 1.285 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/2.251, allocations: 40.77 kB / 1.285 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 4.378e-06/2.251, allocations: 1.406 kB / 1.285 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75): time 0.008047/2.259, allocations: 2.922 MB / 1.288 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/2.259, allocations: 137 kB / 1.288 GB, free: 179 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/2.261, allocations: 0.8067 MB / 1.289 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/2.261, allocations: 26.64 kB / 1.289 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000867/2.262, allocations: 1.208 MB / 1.29 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000296/2.262, allocations: 266.4 kB / 1.29 GB, free: 178 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/2.262, allocations: 1.594 kB / 1.29 GB, free: 178 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002059/2.262, allocations: 397.4 kB / 1.291 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/2.263, allocations: 0.755 MB / 1.292 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/2.265, allocations: 1.229 MB / 1.293 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/2.267, allocations: 1.048 MB / 1.294 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/2.267, allocations: 4.281 kB / 1.294 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004248/2.272, allocations: 2.09 MB / 1.296 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001586/2.273, allocations: 5.487 MB / 1.301 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.802e-05/2.273, allocations: 14.56 kB / 1.301 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.258e-05/2.273, allocations: 23.19 kB / 1.301 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/2.275, allocations: 417.1 kB / 1.302 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.726e-05/2.275, allocations: 33.78 kB / 1.302 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/2.277, allocations: 236.8 kB / 1.302 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/2.277, allocations: 60.69 kB / 1.302 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/2.278, allocations: 4.312 kB / 1.302 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003564/2.281, allocations: 1.667 MB / 1.304 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/2.281, allocations: 15.22 kB / 1.304 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.585e-05/2.281, allocations: 27.36 kB / 1.304 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/2.283, allocations: 363.2 kB / 1.304 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.726e-05/2.283, allocations: 31.14 kB / 1.304 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/2.284, allocations: 149.8 kB / 1.304 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/2.284, allocations: 55.69 kB / 1.304 GB, free: 171.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0004612/2.285, allocations: 146.3 kB / 1.304 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003328/2.288, allocations: 1.416 MB / 1.306 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/2.288, allocations: 99.42 kB / 1.306 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/2.292, allocations: 1.481 MB / 1.307 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/2.292, allocations: 11.97 kB / 1.307 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/2.292, allocations: 1.312 kB / 1.307 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.66e-05/2.292, allocations: 5.328 kB / 1.307 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/2.305, allocations: 6.514 MB / 1.314 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/2.306, allocations: 8.906 kB / 1.314 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/2.307, allocations: 264.3 kB / 1.314 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.978e-05/2.307, allocations: 13.75 kB / 1.314 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/2.307, allocations: 12.38 kB / 1.314 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.799e-05/2.307, allocations: 21.48 kB / 1.314 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.651e-05/2.307, allocations: 13.06 kB / 1.314 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/2.311, allocations: 2.41 MB / 1.316 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008437/2.311, allocations: 367 kB / 1.317 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/2.312, allocations: 20.39 kB / 1.317 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/2.313, allocations: 126.2 kB / 1.317 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/2.313, allocations: 74 kB / 1.317 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/2.313, allocations: 32.2 kB / 1.317 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00105/2.314, allocations: 0.6003 MB / 1.317 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.51e-07/2.314, allocations: 0 / 1.317 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004571/2.319, allocations: 0.7673 MB / 1.318 GB, free: 167.2 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.004699/2.323, allocations: 5.519 MB / 1.324 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005534/2.329, allocations: 2.526 MB / 1.326 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/2.329, allocations: 1.25 kB / 1.326 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/2.33, allocations: 0.7066 MB / 1.327 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/2.332, allocations: 241.7 kB / 1.327 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/2.345, allocations: 4.525 MB / 1.331 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/2.347, allocations: 2.172 MB / 1.334 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002301/2.349, allocations: 0.7665 MB / 1.334 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009978/2.35, allocations: 0.7995 MB / 1.335 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.583e-06/2.35, allocations: 0 / 1.335 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06429/2.414, allocations: 29.93 MB / 1.364 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003585/2.415, allocations: 173.1 kB / 1.364 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/5.082, allocations: 2.531 kB / 1.364 GB, free: 156.3 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)