Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.628/2.628, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001457/0.001457, allocations: 175.2 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 96.97 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004927, allocations: 15.06 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2144, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.233, allocations: 181.8 MB / 1.156 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003997/1.234, allocations: 101.6 kB / 1.156 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1178/1.351, allocations: 28.79 MB / 1.184 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.154e-06/1.351, allocations: 7.938 kB / 1.184 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.698e-05/1.352, allocations: 8 kB / 1.184 GB, free: 9.453 MB / 0.7136 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.00185/1.353, allocations: 0.7448 MB / 1.185 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/1.353, allocations: 12.02 kB / 1.185 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/1.354, allocations: 78.78 kB / 1.185 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004554/1.358, allocations: 0.5645 MB / 1.185 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/1.36, allocations: 489.2 kB / 1.186 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/1.36, allocations: 23.66 kB / 1.186 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/1.36, allocations: 26.94 kB / 1.186 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/1.362, allocations: 0.7605 MB / 1.187 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/1.362, allocations: 0 / 1.187 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.527e-05/1.362, allocations: 13.5 kB / 1.187 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.668e-05/1.363, allocations: 24.33 kB / 1.187 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003578/1.366, allocations: 0.8541 MB / 1.188 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006426/1.373, allocations: 2.872 MB / 1.19 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/1.376, allocations: 0.5231 MB / 1.191 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/1.376, allocations: 93.02 kB / 1.191 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/1.376, allocations: 38.06 kB / 1.191 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 3.506e-06/1.376, allocations: 0 / 1.191 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.01798/1.394, allocations: 2.943 MB / 1.194 GB, free: 348 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/1.394, allocations: 81.05 kB / 1.194 GB, free: 248 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008361/1.395, allocations: 382.5 kB / 1.194 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.395, allocations: 29.33 kB / 1.194 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/1.395, allocations: 235.9 kB / 1.195 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/1.395, allocations: 84.83 kB / 1.195 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/1.395, allocations: 7.625 kB / 1.195 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.396, allocations: 347.7 kB / 1.195 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/1.398, allocations: 361.2 kB / 1.195 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/1.401, allocations: 447.2 kB / 1.196 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/1.404, allocations: 392 kB / 1.196 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/1.404, allocations: 4 kB / 1.196 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01223/1.416, allocations: 1.405 MB / 1.197 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000504/1.417, allocations: 0.7845 MB / 1.198 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/1.417, allocations: 7.984 kB / 1.198 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00878/1.426, allocations: 0.7022 MB / 1.199 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/1.428, allocations: 127.3 kB / 1.199 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/1.439, allocations: 3.257 MB / 1.202 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.44, allocations: 114.9 kB / 1.202 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/1.44, allocations: 15.98 kB / 1.202 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.44, allocations: 4 kB / 1.202 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00647/1.447, allocations: 1.149 MB / 1.203 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.447, allocations: 4 kB / 1.203 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/1.451, allocations: 462.9 kB / 1.204 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.452, allocations: 142.6 kB / 1.204 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/1.458, allocations: 2.539 MB / 1.207 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/1.459, allocations: 107.3 kB / 1.207 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/1.459, allocations: 15.31 kB / 1.207 GB, free: 4.68 MB / 0.7292 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 () * Number of clocked 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.0005917/1.46, allocations: 323.5 kB / 1.207 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/1.46, allocations: 35.58 kB / 1.207 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007172/1.467, allocations: 1.315 MB / 1.208 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/1.467, allocations: 0 / 1.208 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/1.467, allocations: 4 kB / 1.208 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.467, allocations: 0 / 1.208 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008694/1.476, allocations: 1.983 MB / 1.21 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.476, allocations: 3.938 kB / 1.21 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007711/1.477, allocations: 80 kB / 1.21 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005473/1.482, allocations: 0.69 MB / 1.211 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.386e-05/1.482, allocations: 11.98 kB / 1.211 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009922/1.492, allocations: 4.571 MB / 1.215 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.492, allocations: 3.953 kB / 1.215 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007039/1.499, allocations: 1.371 MB / 1.217 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/1.5, allocations: 172.5 kB / 1.217 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.5, allocations: 7.984 kB / 1.217 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.501, allocations: 87.73 kB / 1.217 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/1.501, allocations: 27.59 kB / 1.217 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/1.501, allocations: 7.188 kB / 1.217 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006439/1.502, allocations: 315.9 kB / 1.217 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.61e-07/1.502, allocations: 0 / 1.217 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00137/1.504, allocations: 216.3 kB / 1.218 GB, free: 10.79 MB / 0.7448 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 () * Number of clocked 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.007807/1.511, allocations: 2.187 MB / 1.22 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006233/1.518, allocations: 1.498 MB / 1.221 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/1.518, allocations: 4 kB / 1.221 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/1.52, allocations: 0.6644 MB / 1.222 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009705/1.521, allocations: 120.1 kB / 1.222 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.537, allocations: 5.264 MB / 1.227 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007671/1.537, allocations: 0.9149 MB / 1.228 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009896/1.538, allocations: 159.1 kB / 1.228 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/1.539, allocations: 141.2 kB / 1.228 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/1.539, allocations: 0 / 1.228 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05344/1.592, allocations: 15.88 MB / 1.244 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/1.593, allocations: 227.8 kB / 1.244 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.962/4.555, allocations: 0 / 1.244 GB, free: 1.211 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)