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.623/1.623, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001543/0.001543, allocations: 185 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.397/1.397, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008698/0.0008696, allocations: 89.33 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 12.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.222, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004314/0.2264, allocations: 4.63 MB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003485/0.2299, allocations: 2.481 MB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.2304, allocations: 23.81 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.2307, allocations: 87.38 kB / 0.9865 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008024/0.2315, allocations: 330.9 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.2323, allocations: 297.6 kB / 0.9871 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006093/0.2329, allocations: 0.5669 MB / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.2339, allocations: 0.7397 MB / 0.9884 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.2343, allocations: 290.9 kB / 0.9887 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.2347, allocations: 298.8 kB / 0.989 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.2347, allocations: 28 kB / 0.989 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.2351, allocations: 151.8 kB / 0.9891 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.2353, allocations: 203.4 kB / 0.9893 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.563e-05/0.2354, allocations: 145.3 kB / 0.9895 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.2359, allocations: 0.6937 MB / 0.9902 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2359, allocations: 4 kB / 0.9902 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2359, allocations: 0 / 0.9902 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.2359, allocations: 0 / 0.9902 GB, free: 16.62 MB / 0.6198 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.001151/0.2371, allocations: 0.8411 MB / 0.991 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2371, allocations: 12.02 kB / 0.991 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.324e-05/0.2372, allocations: 98.5 kB / 0.9911 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.2383, allocations: 187 kB / 0.9913 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006319/0.239, allocations: 465.6 kB / 0.9917 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.239, allocations: 40.98 kB / 0.9917 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.2391, allocations: 51.98 kB / 0.9918 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.2401, allocations: 0.8247 MB / 0.9926 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.2401, allocations: 11.89 kB / 0.9926 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.2402, allocations: 23.98 kB / 0.9926 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001773/0.2403, allocations: 64.95 kB / 0.9927 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.241, allocations: 0.5619 MB / 0.9932 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/0.2443, allocations: 4.589 MB / 0.9977 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.2447, allocations: 295.2 kB / 0.998 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.2448, allocations: 12.27 kB / 0.998 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2448, allocations: 34.84 kB / 0.9981 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.806e-06/0.2448, allocations: 3.938 kB / 0.9981 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004706/0.2495, allocations: 2.63 MB / 1.001 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.2496, allocations: 59.41 kB / 1.001 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.2499, allocations: 450 kB / 1.001 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.25, allocations: 33.7 kB / 1.001 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.2501, allocations: 331.7 kB / 1.001 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.2502, allocations: 149.9 kB / 1.002 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.2502, allocations: 12 kB / 1.002 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.2503, allocations: 362.8 kB / 1.002 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.2506, allocations: 229 kB / 1.002 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.2509, allocations: 414.3 kB / 1.003 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.2513, allocations: 289.5 kB / 1.003 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2513, allocations: 4 kB / 1.003 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00136/0.2527, allocations: 0.9172 MB / 1.004 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.2527, allocations: 8 kB / 1.004 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.2527, allocations: 8 kB / 1.004 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006819/0.2534, allocations: 223 kB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.2539, allocations: 115.8 kB / 1.004 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/0.2584, allocations: 5.013 MB / 1.009 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.2589, allocations: 35.91 kB / 1.009 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.2589, allocations: 20 kB / 1.009 GB, free: 12.06 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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.0003581/0.2593, allocations: 234 kB / 1.009 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.2594, allocations: 55.34 kB / 1.009 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.2609, allocations: 0.7664 MB / 1.01 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2609, allocations: 4 kB / 1.01 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2609, allocations: 4 kB / 1.01 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2609, allocations: 0 / 1.01 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.2634, allocations: 1.495 MB / 1.012 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.2634, allocations: 4.219 kB / 1.012 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.2638, allocations: 75.88 kB / 1.012 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006717/0.2645, allocations: 202.6 kB / 1.012 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.2645, allocations: 12 kB / 1.012 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004936/0.2695, allocations: 4.958 MB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2695, allocations: 0 / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.2715, allocations: 1.221 MB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.2718, allocations: 168.4 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.2719, allocations: 15.98 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.2722, allocations: 23.97 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.2723, allocations: 43.78 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.2723, allocations: 16 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003678/0.2727, allocations: 302.9 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2727, allocations: 64 / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006917/0.2734, allocations: 175.9 kB / 1.019 GB, free: 1.68 MB / 0.6355 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.00228/0.2757, allocations: 2.232 MB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.2774, allocations: 1.004 MB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.2774, allocations: 4 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.2784, allocations: 0.676 MB / 1.022 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.2792, allocations: 159.4 kB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007025/0.2863, allocations: 7.275 MB / 1.03 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.2869, allocations: 0.9611 MB / 1.031 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004793/0.2874, allocations: 117 kB / 1.031 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.2877, allocations: 207.3 kB / 1.031 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/0.2877, allocations: 0 / 1.031 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.3181, allocations: 13.21 MB / 1.044 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.3183, allocations: 213.4 kB / 1.044 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/2.78, allocations: 4 kB / 1.044 GB, free: 7.52 MB / 0.6667 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)