Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.ACLine_RL,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 1.379/1.379, allocations: 287.4 MB / 302.5 MB, free: 8.316 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.0008435/0.0008435, allocations: 189.3 kB / 371.1 MB, free: 10.84 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.078/1.078, allocations: 205.4 MB / 0.6298 GB, free: 10.46 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.0006984/0.0006984, allocations: 89.23 kB / 0.7431 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002966, allocations: 18.97 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.003735/0.1447, allocations: 4.821 MB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.1472, allocations: 2.492 MB / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1474, allocations: 15.88 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.1476, allocations: 103.1 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.1481, allocations: 334.2 kB / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.1486, allocations: 291.3 kB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005927/0.1492, allocations: 1.057 MB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008304/0.15, allocations: 0.7638 MB / 0.9884 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.1502, allocations: 314.7 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.1505, allocations: 378.5 kB / 0.989 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.1506, allocations: 24 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.1508, allocations: 187.8 kB / 0.9892 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.151, allocations: 219.4 kB / 0.9894 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.1511, allocations: 141.4 kB / 0.9896 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004103/0.1515, allocations: 0.721 MB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1515, allocations: 3.938 kB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1515, allocations: 0 / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.1515, allocations: 0 / 0.9903 GB, free: 16.18 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.000905/0.1524, allocations: 0.8452 MB / 0.9911 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.1525, allocations: 8.031 kB / 0.9911 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.294e-05/0.1525, allocations: 102.7 kB / 0.9912 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.1536, allocations: 191.9 kB / 0.9914 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.154, allocations: 486.4 kB / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1541, allocations: 41.36 kB / 0.9919 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.1542, allocations: 48.56 kB / 0.9919 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/0.155, allocations: 0.829 MB / 0.9928 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.155, allocations: 4 kB / 0.9928 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.155, allocations: 31.92 kB / 0.9928 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.1552, allocations: 68.94 kB / 0.9929 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006268/0.1558, allocations: 0.5657 MB / 0.9934 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.1585, allocations: 4.596 MB / 0.9979 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.1588, allocations: 295.2 kB / 0.9982 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.159, allocations: 225.3 kB / 0.9984 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1591, allocations: 4.281 kB / 0.9984 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.1591, allocations: 42.78 kB / 0.9984 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.273e-06/0.1591, allocations: 0 / 0.9984 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004013/0.1631, allocations: 2.623 MB / 1.001 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/0.1631, allocations: 59.34 kB / 1.001 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.1634, allocations: 453.9 kB / 1.001 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1635, allocations: 33.7 kB / 1.002 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1636, allocations: 343.6 kB / 1.002 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.1637, allocations: 142 kB / 1.002 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.1637, allocations: 12 kB / 1.002 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.1637, allocations: 362.8 kB / 1.002 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.164, allocations: 233 kB / 1.003 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.1643, allocations: 402.5 kB / 1.003 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005792/0.1649, allocations: 0.6778 MB / 1.004 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1649, allocations: 4 kB / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001206/0.1661, allocations: 0.9168 MB / 1.005 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1661, allocations: 8 kB / 1.005 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1661, allocations: 11.98 kB / 1.005 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.1668, allocations: 223 kB / 1.005 GB, free: 488 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.1672, allocations: 115.8 kB / 1.005 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.1711, allocations: 4.942 MB / 1.01 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.1714, allocations: 31.97 kB / 1.01 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.1714, allocations: 24.19 kB / 1.01 GB, free: 10.96 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.0002139/0.1717, allocations: 241.6 kB / 1.01 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.1717, allocations: 55.34 kB / 1.01 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.173, allocations: 0.7664 MB / 1.011 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.173, allocations: 4 kB / 1.011 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.173, allocations: 7.938 kB / 1.011 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.173, allocations: 0 / 1.011 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.175, allocations: 1.498 MB / 1.012 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.175, allocations: 224 / 1.012 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.1754, allocations: 71.94 kB / 1.012 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005853/0.1759, allocations: 202.3 kB / 1.013 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.176, allocations: 16 kB / 1.013 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/0.1797, allocations: 4.86 MB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1797, allocations: 11.91 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.1812, allocations: 1.123 MB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.1813, allocations: 168.4 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/0.1814, allocations: 15.98 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.1817, allocations: 27.91 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.1818, allocations: 43.77 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.1818, allocations: 16.06 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002598/0.1821, allocations: 306.9 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.1821, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004822/0.1826, allocations: 168 kB / 1.019 GB, free: 0.8086 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.001713/0.1843, allocations: 1.677 MB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.1856, allocations: 1 MB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1856, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007999/0.1864, allocations: 0.6917 MB / 1.022 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.1872, allocations: 165.6 kB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.1918, allocations: 3.827 MB / 1.026 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.1923, allocations: 0.9377 MB / 1.027 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003363/0.1926, allocations: 125 kB / 1.027 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.1928, allocations: 203.4 kB / 1.027 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.1928, allocations: 3.938 kB / 1.027 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5649/0.7578, allocations: 13.19 MB / 1.04 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.758, allocations: 223.6 kB / 1.041 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/3.062, allocations: 7.75 kB / 1.041 GB, free: 10.71 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)