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.ACLine_RL.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.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.71/1.71, allocations: 288.2 MB / 303.2 MB, free: 8.238 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.001033/0.001033, allocations: 191.5 kB / 371.8 MB, free: 10.29 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.577/1.577, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0009369/0.000937, allocations: 106.6 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.000406, allocations: 15.3 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8371/1.074, allocations: 181.3 MB / 1.157 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/1.075, allocations: 97.81 kB / 1.157 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07568/1.15, allocations: 31.42 MB / 1.187 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.495e-06/1.15, allocations: 0 / 1.187 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.432e-05/1.15, allocations: 20 kB / 1.187 GB, free: 6.875 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00161/1.152, allocations: 0.8748 MB / 1.188 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/1.152, allocations: 16 kB / 1.188 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/1.152, allocations: 101.1 kB / 1.188 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.154, allocations: 194.9 kB / 1.189 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009568/1.155, allocations: 0.4979 MB / 1.189 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/1.155, allocations: 38.92 kB / 1.189 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/1.155, allocations: 52.8 kB / 1.189 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/1.156, allocations: 0.8658 MB / 1.19 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/1.156, allocations: 3.938 kB / 1.19 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/1.156, allocations: 31.55 kB / 1.19 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.176e-05/1.156, allocations: 48.28 kB / 1.19 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008193/1.157, allocations: 0.5618 MB / 1.191 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004491/1.161, allocations: 4.607 MB / 1.195 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/1.162, allocations: 287 kB / 1.195 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/1.162, allocations: 4 kB / 1.195 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.162, allocations: 42.19 kB / 1.195 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/1.162, allocations: 0 / 1.195 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.005549/1.168, allocations: 2.63 MB / 1.198 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/1.168, allocations: 55.41 kB / 1.198 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004554/1.168, allocations: 395 kB / 1.198 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/1.168, allocations: 35.89 kB / 1.198 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/1.168, allocations: 333.4 kB / 1.199 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/1.168, allocations: 143.6 kB / 1.199 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/1.169, allocations: 14.62 kB / 1.199 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.169, allocations: 364 kB / 1.199 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/1.169, allocations: 233.9 kB / 1.199 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/1.17, allocations: 380.4 kB / 1.2 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/1.17, allocations: 292.9 kB / 1.2 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.17, allocations: 3.953 kB / 1.2 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001679/1.172, allocations: 0.8931 MB / 1.201 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/1.172, allocations: 11.95 kB / 1.201 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.172, allocations: 8.547 kB / 1.201 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008105/1.173, allocations: 228.8 kB / 1.201 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/1.173, allocations: 103.9 kB / 1.201 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/1.178, allocations: 5.018 MB / 1.206 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/1.179, allocations: 26.78 kB / 1.206 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/1.179, allocations: 30.12 kB / 1.206 GB, free: 5.262 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004022/1.179, allocations: 217.9 kB / 1.206 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.179, allocations: 59.3 kB / 1.207 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/1.181, allocations: 0.7756 MB / 1.207 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.181, allocations: 4 kB / 1.207 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.181, allocations: 8 kB / 1.207 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.181, allocations: 3.984 kB / 1.207 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/1.183, allocations: 1.479 MB / 1.209 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.183, allocations: 4 kB / 1.209 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/1.184, allocations: 70.91 kB / 1.209 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006667/1.184, allocations: 208.5 kB / 1.209 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/1.184, allocations: 7.875 kB / 1.209 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/1.189, allocations: 4.943 MB / 1.214 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.189, allocations: 288 / 1.214 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/1.191, allocations: 1.218 MB / 1.215 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/1.191, allocations: 176 kB / 1.215 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/1.191, allocations: 7.625 kB / 1.215 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/1.191, allocations: 25.53 kB / 1.215 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/1.191, allocations: 37.52 kB / 1.215 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/1.192, allocations: 11.5 kB / 1.215 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003765/1.192, allocations: 309.1 kB / 1.216 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.192, allocations: 4 kB / 1.216 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007412/1.193, allocations: 180.8 kB / 1.216 GB, free: 12.52 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002302/1.195, allocations: 2.26 MB / 1.218 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001638/1.197, allocations: 0.9941 MB / 1.219 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.197, allocations: 0 / 1.219 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009325/1.198, allocations: 0.6757 MB / 1.22 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/1.198, allocations: 162.8 kB / 1.22 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00709/1.205, allocations: 6.816 MB / 1.226 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/1.206, allocations: 0.9571 MB / 1.227 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004758/1.207, allocations: 120.8 kB / 1.227 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/1.207, allocations: 212.9 kB / 1.228 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/1.207, allocations: 4 kB / 1.228 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/1.238, allocations: 13.22 MB / 1.241 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/1.239, allocations: 214.9 kB / 1.241 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/3.587, allocations: 0 / 1.241 GB, free: 4.258 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)