Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.596/1.596, allocations: 285.4 MB / 298 MB, free: 6.012 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.001/0.001, allocations: 180.8 kB / 366.4 MB, free: 2.105 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.471/1.471, allocations: 205.1 MB / 0.6248 GB, free: 7.773 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.0008187/0.0008188, allocations: 92.23 kB / 0.738 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.924e-05, allocations: 4 kB / 0.8584 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7098, allocations: 115.3 MB / 0.971 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2597/0.9695, allocations: 207 MB / 1.173 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/0.97, allocations: 95.88 kB / 1.173 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2138/1.184, allocations: 84.33 MB / 1.256 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.234e-06/1.184, allocations: 3.938 kB / 1.256 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001291/1.184, allocations: 47.86 kB / 1.256 GB, free: 3.605 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003355/1.187, allocations: 1.575 MB / 1.257 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.187, allocations: 12.03 kB / 1.257 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002608/1.188, allocations: 190.1 kB / 1.257 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4883/1.676, allocations: 1.874 MB / 1.259 GB, free: 210.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/1.679, allocations: 1.219 MB / 1.26 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.402e-05/1.68, allocations: 90.3 kB / 1.26 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003129/1.68, allocations: 122.3 kB / 1.261 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004114/1.684, allocations: 2.236 MB / 1.263 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/1.684, allocations: 7.438 kB / 1.263 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/1.684, allocations: 56.34 kB / 1.263 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/1.684, allocations: 84.48 kB / 1.263 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/1.688, allocations: 1.865 MB / 1.265 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/1.704, allocations: 10.7 MB / 1.275 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/1.707, allocations: 1.696 MB / 1.277 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/1.709, allocations: 0.9058 MB / 1.278 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.299e-05/1.709, allocations: 12.55 kB / 1.278 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/1.709, allocations: 44.22 kB / 1.278 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 3.947e-06/1.709, allocations: 0 / 1.278 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.03597/1.745, allocations: 9.958 MB / 1.288 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/1.745, allocations: 225.2 kB / 1.288 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/1.747, allocations: 0.964 MB / 1.289 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000227/1.747, allocations: 49.05 kB / 1.289 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/1.747, allocations: 0.7074 MB / 1.289 GB, free: 203 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/1.748, allocations: 451.6 kB / 1.29 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/1.748, allocations: 26.88 kB / 1.29 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.748, allocations: 354.7 kB / 1.29 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/1.749, allocations: 0.958 MB / 1.291 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/1.751, allocations: 1.219 MB / 1.292 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/1.753, allocations: 1.056 MB / 1.293 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.753, allocations: 3.812 kB / 1.293 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008878/1.761, allocations: 3.726 MB / 1.297 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/1.762, allocations: 11.09 kB / 1.297 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.762, allocations: 6.609 kB / 1.297 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006757/1.768, allocations: 1.612 MB / 1.299 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/1.771, allocations: 444.2 kB / 1.299 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/1.794, allocations: 24.77 MB / 1.323 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/1.797, allocations: 322.2 kB / 1.324 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003707/1.797, allocations: 66.12 kB / 1.324 GB, free: 180.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005054/1.798, allocations: 179.7 kB / 1.324 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005206/1.798, allocations: 159.8 kB / 1.324 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0089/1.807, allocations: 3.771 MB / 1.328 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/1.807, allocations: 13.22 kB / 1.328 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.233e-05/1.807, allocations: 13 kB / 1.328 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/1.807, allocations: 6 kB / 1.328 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/1.821, allocations: 6.215 MB / 1.334 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.821, allocations: 7.109 kB / 1.334 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/1.823, allocations: 390.9 kB / 1.334 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005695/1.829, allocations: 1.503 MB / 1.336 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/1.829, allocations: 41.75 kB / 1.336 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01987/1.849, allocations: 23.8 MB / 1.359 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.849, allocations: 5.781 kB / 1.359 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007298/1.856, allocations: 3.701 MB / 1.362 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/1.857, allocations: 466.6 kB / 1.363 GB, free: 154 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005375/1.858, allocations: 30.36 kB / 1.363 GB, free: 154 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002426/1.86, allocations: 323.5 kB / 1.363 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004572/1.861, allocations: 126.9 kB / 1.363 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.861, allocations: 51.72 kB / 1.363 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001104/1.862, allocations: 0.7354 MB / 1.364 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.41e-07/1.862, allocations: 0.6562 kB / 1.364 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00269/1.865, allocations: 0.6068 MB / 1.365 GB, free: 153.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007444/1.872, allocations: 5.052 MB / 1.37 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006481/1.879, allocations: 4.313 MB / 1.374 GB, free: 148 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.879, allocations: 7.75 kB / 1.374 GB, free: 148 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00465/1.883, allocations: 3.123 MB / 1.377 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/1.886, allocations: 0.4928 MB / 1.377 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007958/1.894, allocations: 3.241 MB / 1.381 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/1.896, allocations: 1.503 MB / 1.382 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002031/1.898, allocations: 432.4 kB / 1.382 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009241/1.899, allocations: 0.6267 MB / 1.383 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.352e-06/1.899, allocations: 0 / 1.383 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07626/1.975, allocations: 51.15 MB / 1.433 GB, free: 105.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/1.975, allocations: 203.3 kB / 1.433 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.455/5.43, allocations: 3.938 kB / 1.433 GB, free: 105.5 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)