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.412/1.412, allocations: 288.4 MB / 303.6 MB, free: 8.086 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.0008578/0.0008578, allocations: 181.8 kB / 372.2 MB, free: 10.11 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.173/1.173, allocations: 205.4 MB / 0.631 GB, free: 9.84 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.0006273/0.0006272, allocations: 94.3 kB / 0.7444 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 16.06 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.003881/0.1628, allocations: 4.821 MB / 0.9849 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00279/0.1656, allocations: 2.48 MB / 0.9873 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.166, allocations: 15.88 kB / 0.9873 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.1662, allocations: 103.1 kB / 0.9874 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006965/0.1669, allocations: 370.1 kB / 0.9878 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.1676, allocations: 325.9 kB / 0.9881 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007418/0.1683, allocations: 1.057 MB / 0.9891 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009069/0.1693, allocations: 0.7697 MB / 0.9899 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.1696, allocations: 314.7 kB / 0.9902 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.17, allocations: 374.6 kB / 0.9905 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.1701, allocations: 28 kB / 0.9906 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.1706, allocations: 415.1 kB / 0.991 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.1707, allocations: 215.4 kB / 0.9912 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.1709, allocations: 324.2 kB / 0.9915 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.1715, allocations: 0.7366 MB / 0.9922 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1715, allocations: 0 / 0.9922 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1715, allocations: 0 / 0.9922 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.1715, allocations: 0 / 0.9922 GB, free: 14.84 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.00107/0.1726, allocations: 0.8491 MB / 0.993 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1726, allocations: 12.03 kB / 0.993 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.604e-05/0.1727, allocations: 98.69 kB / 0.9931 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.1738, allocations: 191.9 kB / 0.9933 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.1743, allocations: 490.4 kB / 0.9938 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1744, allocations: 41.36 kB / 0.9938 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.1745, allocations: 52.56 kB / 0.9939 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/0.1753, allocations: 0.82 MB / 0.9947 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.1753, allocations: 11.94 kB / 0.9947 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.1754, allocations: 31.92 kB / 0.9947 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.1756, allocations: 60.95 kB / 0.9948 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.1762, allocations: 0.5736 MB / 0.9953 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.1791, allocations: 4.596 MB / 0.9998 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.1794, allocations: 283.3 kB / 1 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.1796, allocations: 229.3 kB / 1 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1797, allocations: 4.281 kB / 1 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.1797, allocations: 42.83 kB / 1 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.253e-06/0.1797, allocations: 0 / 1 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.00421/0.1839, allocations: 2.626 MB / 1.003 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.1839, allocations: 59.39 kB / 1.003 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.1843, allocations: 449.9 kB / 1.003 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1843, allocations: 37.7 kB / 1.003 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1844, allocations: 339.6 kB / 1.004 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.1845, allocations: 145.9 kB / 1.004 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.1845, allocations: 12 kB / 1.004 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.1846, allocations: 358.8 kB / 1.004 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.1848, allocations: 240.9 kB / 1.004 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.1851, allocations: 406.4 kB / 1.005 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/0.1857, allocations: 0.6778 MB / 1.006 GB, free: 308 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1857, allocations: 0 / 1.006 GB, free: 308 kB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001365/0.1871, allocations: 0.9169 MB / 1.006 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1871, allocations: 8 kB / 1.006 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1872, allocations: 4.656 kB / 1.006 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006852/0.1879, allocations: 230.3 kB / 1.007 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.1883, allocations: 115.8 kB / 1.007 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/0.1922, allocations: 4.947 MB / 1.012 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.1926, allocations: 31.97 kB / 1.012 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.1926, allocations: 24 kB / 1.012 GB, free: 9.605 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.000219/0.1929, allocations: 234.9 kB / 1.012 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.1929, allocations: 55.34 kB / 1.012 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.1942, allocations: 0.7657 MB / 1.013 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1942, allocations: 4 kB / 1.013 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1942, allocations: 4 kB / 1.013 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1942, allocations: 3.984 kB / 1.013 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.1962, allocations: 1.494 MB / 1.014 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1963, allocations: 4.031 kB / 1.014 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.1966, allocations: 68.08 kB / 1.014 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005903/0.1972, allocations: 210.4 kB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.1972, allocations: 8 kB / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003774/0.201, allocations: 4.872 MB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.201, allocations: 3.938 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.2025, allocations: 1.139 MB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.2027, allocations: 164.4 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.2027, allocations: 12.19 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.203, allocations: 27.86 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.2031, allocations: 47.88 kB / 1.021 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.2031, allocations: 16 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002575/0.2034, allocations: 306.9 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2034, allocations: 0 / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004834/0.2039, allocations: 168 kB / 1.021 GB, free: 15.45 MB / 0.6511 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.001699/0.2056, allocations: 1.679 MB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.2069, allocations: 1.001 MB / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2069, allocations: 0 / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000796/0.2077, allocations: 0.6878 MB / 1.024 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000837/0.2085, allocations: 168.1 kB / 1.024 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/0.213, allocations: 3.818 MB / 1.028 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.2134, allocations: 0.9455 MB / 1.029 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000304/0.2137, allocations: 121 kB / 1.029 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.214, allocations: 207.4 kB / 1.029 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.214, allocations: 3.938 kB / 1.029 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.614/0.828, allocations: 13.3 MB / 1.042 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.8282, allocations: 231.5 kB / 1.043 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.196/3.024, allocations: 4.062 kB / 1.043 GB, free: 9.238 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)