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_L.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_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.415/1.415, allocations: 288.4 MB / 303.6 MB, free: 8.125 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.0008334/0.0008333, allocations: 183.8 kB / 372.2 MB, free: 10.12 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.099/1.099, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0006625/0.0006626, allocations: 102.7 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 11.91 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1437, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004106/0.1478, allocations: 5.374 MB / 0.9854 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003192/0.151, allocations: 3.011 MB / 0.9884 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.1514, allocations: 23.81 kB / 0.9884 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.1517, allocations: 119 kB / 0.9885 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007797/0.1525, allocations: 426 kB / 0.9889 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000788/0.1533, allocations: 401 kB / 0.9893 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008947/0.1542, allocations: 1.221 MB / 0.9905 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.1554, allocations: 0.9857 MB / 0.9915 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.1559, allocations: 354.5 kB / 0.9918 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.1564, allocations: 442.4 kB / 0.9922 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-05/0.1565, allocations: 28 kB / 0.9923 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007374/0.1573, allocations: 0.5417 MB / 0.9928 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.1575, allocations: 251.3 kB / 0.993 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000299/0.1578, allocations: 364 kB / 0.9934 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.1585, allocations: 0.8963 MB / 0.9942 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1585, allocations: 0 / 0.9942 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1585, allocations: 0 / 0.9942 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.1585, allocations: 0 / 0.9942 GB, free: 12.76 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009727/0.1595, allocations: 0.9116 MB / 0.9951 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1595, allocations: 12.03 kB / 0.9951 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.91e-05/0.1596, allocations: 118.7 kB / 0.9953 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.1608, allocations: 219.7 kB / 0.9955 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.1613, allocations: 0.5375 MB / 0.996 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1613, allocations: 49.67 kB / 0.996 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.1614, allocations: 64.36 kB / 0.9961 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009749/0.1624, allocations: 1.022 MB / 0.9971 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.1624, allocations: 11.84 kB / 0.9971 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.1625, allocations: 31.98 kB / 0.9971 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-05/0.1625, allocations: 69.27 kB / 0.9972 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007412/0.1633, allocations: 0.684 MB / 0.9979 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.1662, allocations: 5.772 MB / 1.004 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/0.1668, allocations: 0.5972 MB / 1.004 GB, free: 2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/0.1674, allocations: 413.5 kB / 1.004 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.1675, allocations: 12.69 kB / 1.005 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.1675, allocations: 30.56 kB / 1.005 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.393e-06/0.1675, allocations: 0 / 1.005 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.003455/0.1709, allocations: 2.064 MB / 1.007 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.171, allocations: 55.41 kB / 1.007 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.1714, allocations: 462.6 kB / 1.007 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.1714, allocations: 29.7 kB / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.1716, allocations: 387 kB / 1.007 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.864e-05/0.1717, allocations: 149.9 kB / 1.008 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.1718, allocations: 12 kB / 1.008 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1719, allocations: 366.8 kB / 1.008 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.1722, allocations: 241.2 kB / 1.008 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.1727, allocations: 464.9 kB / 1.009 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/0.1735, allocations: 0.7478 MB / 1.009 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1735, allocations: 4 kB / 1.009 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001637/0.1751, allocations: 1.054 MB / 1.01 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1751, allocations: 8 kB / 1.01 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1752, allocations: 12.09 kB / 1.01 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009353/0.1761, allocations: 327.1 kB / 1.011 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.1764, allocations: 99.81 kB / 1.011 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005855/0.1822, allocations: 6.958 MB / 1.018 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.1826, allocations: 28.02 kB / 1.018 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.1826, allocations: 28 kB / 1.018 GB, free: 3.199 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.1829, allocations: 241.5 kB / 1.018 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.183, allocations: 59.34 kB / 1.018 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.1845, allocations: 0.9118 MB / 1.019 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.1845, allocations: 8.219 kB / 1.019 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1845, allocations: 8 kB / 1.019 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1845, allocations: 3.984 kB / 1.019 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.1868, allocations: 1.7 MB / 1.021 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1869, allocations: 0 / 1.021 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.187, allocations: 51.84 kB / 1.021 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008921/0.1879, allocations: 327.2 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.1879, allocations: 8 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005799/0.1938, allocations: 6.927 MB / 1.028 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1938, allocations: 4 kB / 1.028 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.1952, allocations: 1.003 MB / 1.029 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.1954, allocations: 176.4 kB / 1.029 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.1955, allocations: 8 kB / 1.029 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.1958, allocations: 23.97 kB / 1.029 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.1958, allocations: 43.83 kB / 1.029 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.1959, allocations: 12 kB / 1.029 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002766/0.1962, allocations: 310.9 kB / 1.029 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.263e-06/0.1962, allocations: 288 / 1.029 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006268/0.1968, allocations: 195.9 kB / 1.029 GB, free: 6.477 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/0.1985, allocations: 1.556 MB / 1.031 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.2, allocations: 1.206 MB / 1.032 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2001, allocations: 0 / 1.032 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.2011, allocations: 0.8584 MB / 1.033 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.202, allocations: 177.2 kB / 1.033 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.2069, allocations: 3.995 MB / 1.037 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.2074, allocations: 0.9921 MB / 1.038 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002505/0.2076, allocations: 93.28 kB / 1.038 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.2079, allocations: 223.4 kB / 1.038 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of SimCode: time 2.9e-07/0.2079, allocations: 0 / 1.038 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4129/0.6208, allocations: 14.57 MB / 1.052 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.621, allocations: 218 kB / 1.053 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.393/4.014, allocations: 0 / 1.053 GB, free: 14.49 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)