Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.639/1.639, allocations: 285.4 MB / 298 MB, free: 5.906 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.001379/0.001379, allocations: 188.8 kB / 366.4 MB, free: 2.059 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.718/1.718, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008466/0.0008463, allocations: 90.92 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.597e-05/4.611e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7495/0.7496, allocations: 115.3 MB / 0.971 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2444/0.994, allocations: 181.9 MB / 1.149 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.9944, allocations: 95.94 kB / 1.149 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07127/1.066, allocations: 28.68 MB / 1.177 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.266e-06/1.066, allocations: 4 kB / 1.177 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.101e-05/1.066, allocations: 4 kB / 1.177 GB, free: 4.938 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001047/1.067, allocations: 0.6853 MB / 1.177 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.067, allocations: 12.03 kB / 1.177 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.045e-05/1.067, allocations: 70.53 kB / 1.177 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/1.069, allocations: 0.5649 MB / 1.178 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/1.07, allocations: 486.6 kB / 1.178 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/1.07, allocations: 22.16 kB / 1.178 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-05/1.07, allocations: 28 kB / 1.179 GB, free: 2.984 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009024/1.071, allocations: 0.5892 MB / 1.179 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/1.071, allocations: 4 kB / 1.179 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/1.071, allocations: 8 kB / 1.179 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/1.071, allocations: 28.7 kB / 1.179 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/1.072, allocations: 0.5105 MB / 1.18 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/1.076, allocations: 2.866 MB / 1.182 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/1.077, allocations: 346.3 kB / 1.183 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/1.077, allocations: 171.7 kB / 1.183 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/1.077, allocations: 96.95 kB / 1.183 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/1.077, allocations: 38.56 kB / 1.183 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/1.077, allocations: 0.8438 kB / 1.183 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24): time 0.006131/1.083, allocations: 2.029 MB / 1.185 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.083, allocations: 81.11 kB / 1.185 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/1.084, allocations: 367.6 kB / 1.185 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/1.084, allocations: 29.7 kB / 1.185 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/1.084, allocations: 251.6 kB / 1.186 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/1.084, allocations: 74.91 kB / 1.186 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/1.084, allocations: 8 kB / 1.186 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.084, allocations: 338.8 kB / 1.186 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/1.085, allocations: 252.6 kB / 1.186 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/1.085, allocations: 317.6 kB / 1.187 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/1.086, allocations: 271.1 kB / 1.187 GB, free: 9.98 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.086, allocations: 3.984 kB / 1.187 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00292/1.089, allocations: 1.144 MB / 1.188 GB, free: 8.82 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.00031/1.089, allocations: 0.7862 MB / 1.189 GB, free: 7.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/1.089, allocations: 4 kB / 1.189 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/1.091, allocations: 0.6375 MB / 1.189 GB, free: 7.324 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/1.092, allocations: 129.7 kB / 1.19 GB, free: 7.199 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/1.096, allocations: 3.117 MB / 1.193 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000751/1.097, allocations: 115.9 kB / 1.193 GB, free: 3.805 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/1.097, allocations: 16 kB / 1.193 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/1.097, allocations: 5.406 kB / 1.193 GB, free: 3.785 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002243/1.099, allocations: 0.8789 MB / 1.194 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/1.099, allocations: 11.97 kB / 1.194 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/1.1, allocations: 396.5 kB / 1.194 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/1.101, allocations: 144.9 kB / 1.194 GB, free: 2.359 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/1.104, allocations: 2.398 MB / 1.196 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007521/1.105, allocations: 115.9 kB / 1.197 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/1.105, allocations: 12 kB / 1.197 GB, free: 15.7 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002/1.105, allocations: 120.9 kB / 1.197 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/1.105, allocations: 43.47 kB / 1.197 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/1.108, allocations: 1.109 MB / 1.198 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/1.108, allocations: 4 kB / 1.198 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/1.108, allocations: 3.938 kB / 1.198 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.108, allocations: 0 / 1.198 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/1.112, allocations: 1.8 MB / 1.2 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.112, allocations: 0 / 1.2 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/1.113, allocations: 87.94 kB / 1.2 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/1.115, allocations: 0.6235 MB / 1.2 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/1.115, allocations: 6 kB / 1.2 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004976/1.12, allocations: 4.378 MB / 1.205 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.12, allocations: 3.984 kB / 1.205 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/1.123, allocations: 1.177 MB / 1.206 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/1.123, allocations: 168.7 kB / 1.206 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/1.123, allocations: 8 kB / 1.206 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/1.124, allocations: 91.86 kB / 1.206 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/1.124, allocations: 19.97 kB / 1.206 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/1.124, allocations: 11.98 kB / 1.206 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000386/1.124, allocations: 306.1 kB / 1.206 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.81e-07/1.124, allocations: 0 / 1.206 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008591/1.125, allocations: 215.9 kB / 1.207 GB, free: 5.129 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003343/1.128, allocations: 1.985 MB / 1.208 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002144/1.13, allocations: 1.196 MB / 1.21 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.13, allocations: 0.625 kB / 1.21 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008531/1.131, allocations: 0.5827 MB / 1.21 GB, free: 1.262 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/1.132, allocations: 128.8 kB / 1.21 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/1.134, allocations: 0.9057 MB / 1.211 GB, free: 204 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/1.134, allocations: 0.9213 MB / 1.212 GB, free: 15.25 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0007057/1.135, allocations: 212.4 kB / 1.212 GB, free: 15.05 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/1.135, allocations: 133.9 kB / 1.212 GB, free: 14.92 MB / 0.823 GB Notification: Performance of SimCode: time 7.41e-07/1.135, allocations: 0 / 1.212 GB, free: 14.92 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/1.17, allocations: 16.2 MB / 1.228 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/1.17, allocations: 209.2 kB / 1.228 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.409, allocations: 0 / 1.228 GB, free: 14.78 MB / 0.8386 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)