Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009243/0.0009243, allocations: 183.4 kB / 325.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006961/0.000696, allocations: 86.31 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.000319, allocations: 10.22 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1491, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005309/0.1545, allocations: 5.925 MB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004488/0.159, allocations: 4.558 MB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000511/0.1595, allocations: 23.88 kB / 0.9065 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.1613, allocations: 0.8517 MB / 0.9073 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.1628, allocations: 0.7051 MB / 0.908 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.1634, allocations: 294.6 kB / 0.9083 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.1646, allocations: 1.444 MB / 0.9097 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005124/0.1651, allocations: 469.6 kB / 0.9101 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.1656, allocations: 410.3 kB / 0.9105 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005204/0.1661, allocations: 478 kB / 0.911 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.021e-05/0.1662, allocations: 32 kB / 0.911 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004349/0.1666, allocations: 295.4 kB / 0.9113 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1668, allocations: 215.2 kB / 0.9115 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.1671, allocations: 362 kB / 0.9118 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006775/0.1677, allocations: 1.028 MB / 0.9128 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1678, allocations: 0 / 0.9128 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1678, allocations: 4 kB / 0.9128 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.1678, allocations: 0 / 0.9128 GB, free: 50.95 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001261/0.1691, allocations: 0.9786 MB / 0.9138 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1691, allocations: 8.031 kB / 0.9138 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.938e-05/0.1692, allocations: 98.7 kB / 0.9139 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.1719, allocations: 0.6514 MB / 0.9145 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.1725, allocations: 0.5424 MB / 0.9151 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.1726, allocations: 37.69 kB / 0.9151 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.1726, allocations: 59.92 kB / 0.9152 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.1741, allocations: 1.022 MB / 0.9162 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1741, allocations: 0 / 0.9162 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/0.1742, allocations: 24 kB / 0.9162 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-05/0.1742, allocations: 53.22 kB / 0.9162 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.1761, allocations: 1.012 MB / 0.9172 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.179, allocations: 3.517 MB / 0.9206 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.1802, allocations: 0.5129 MB / 0.9211 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.1806, allocations: 253.2 kB / 0.9214 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.1807, allocations: 8 kB / 0.9214 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.1807, allocations: 34.55 kB / 0.9214 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.1807, allocations: 0 / 0.9214 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.005523/0.1862, allocations: 2.228 MB / 0.9236 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/0.1863, allocations: 59.41 kB / 0.9237 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.1867, allocations: 0.5704 MB / 0.9242 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.1867, allocations: 33.64 kB / 0.9243 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1869, allocations: 360.2 kB / 0.9246 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.1869, allocations: 149.8 kB / 0.9247 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.187, allocations: 37.7 kB / 0.9248 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.1871, allocations: 378.7 kB / 0.9251 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.1876, allocations: 276.9 kB / 0.9254 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.1882, allocations: 381.8 kB / 0.9258 GB, free: 37.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.1893, allocations: 0.6732 MB / 0.9264 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1893, allocations: 4 kB / 0.9264 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001926/0.1913, allocations: 0.9741 MB / 0.9274 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.1913, allocations: 180.4 kB / 0.9275 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1913, allocations: 8 kB / 0.9276 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009719/0.1923, allocations: 268.9 kB / 0.9278 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.1929, allocations: 131.8 kB / 0.9279 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004475/0.1974, allocations: 8.493 MB / 0.9362 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.1979, allocations: 60.02 kB / 0.9363 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.1979, allocations: 20 kB / 0.9363 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-06/0.1979, allocations: 4 kB / 0.9363 GB, free: 25.37 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001866/0.1998, allocations: 1.085 MB / 0.9374 GB, free: 24.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1998, allocations: 4 kB / 0.9374 GB, free: 24.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/0.2005, allocations: 221.2 kB / 0.9376 GB, free: 23.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.201, allocations: 131.8 kB / 0.9377 GB, free: 23.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.2045, allocations: 8.164 MB / 0.9457 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.205, allocations: 56.14 kB / 0.9457 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.205, allocations: 20 kB / 0.9458 GB, free: 14.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002537/0.2053, allocations: 326.3 kB / 0.9461 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.2054, allocations: 67.16 kB / 0.9461 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.2055, allocations: 82.38 kB / 0.9462 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.2055, allocations: 4 kB / 0.9462 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2055, allocations: 0 / 0.9462 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2055, allocations: 3.984 kB / 0.9462 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.206, allocations: 0.6455 MB / 0.9469 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.206, allocations: 4 kB / 0.9469 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.2065, allocations: 99.84 kB / 0.9469 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008236/0.2073, allocations: 261 kB / 0.9472 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.2073, allocations: 19.98 kB / 0.9472 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003957/0.2113, allocations: 8.423 MB / 0.9554 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2113, allocations: 4.031 kB / 0.9554 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.2131, allocations: 0.9561 MB / 0.9564 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.2133, allocations: 188.1 kB / 0.9566 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.2133, allocations: 11.94 kB / 0.9566 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.2138, allocations: 47.95 kB / 0.9566 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.2139, allocations: 39.94 kB / 0.9567 GB, free: 2.711 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.2139, allocations: 15.98 kB / 0.9567 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003044/0.2142, allocations: 403.1 kB / 0.9571 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2142, allocations: 0 / 0.9571 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007654/0.215, allocations: 300 kB / 0.9573 GB, free: 2.016 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001916/0.2169, allocations: 1.517 MB / 0.9588 GB, free: 464 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003205/0.2201, allocations: 2.415 MB / 0.9612 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2202, allocations: 12 kB / 0.9612 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.2213, allocations: 1.02 MB / 0.9622 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.2222, allocations: 222.7 kB / 0.9624 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009541/0.2318, allocations: 6.753 MB / 0.969 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.2323, allocations: 0.9819 MB / 0.97 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005272/0.2328, allocations: 153.4 kB / 0.9701 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.2331, allocations: 239.3 kB / 0.9703 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.2331, allocations: 4 kB / 0.9703 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.449/0.6821, allocations: 18.71 MB / 0.9886 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.6823, allocations: 242.6 kB / 0.9888 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.239, allocations: 0 / 0.9888 GB, free: 1.516 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)