Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.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.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_Resistance",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.55/1.55, allocations: 288.4 MB / 303.6 MB, free: 8.133 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.001017/0.001017, allocations: 185.6 kB / 372.3 MB, free: 10.14 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.232/1.232, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0007549/0.0007548, allocations: 90.91 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 16.56 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.18, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00308/0.1831, allocations: 2.649 MB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1848, allocations: 1.24 MB / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1849, allocations: 4 kB / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.1851, allocations: 35.72 kB / 0.984 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.1854, allocations: 131.4 kB / 0.9842 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1857, allocations: 118.1 kB / 0.9843 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.1859, allocations: 354.8 kB / 0.9846 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.1862, allocations: 229.5 kB / 0.9848 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.1863, allocations: 95.62 kB / 0.9849 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1865, allocations: 131.5 kB / 0.985 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1865, allocations: 12 kB / 0.985 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.1868, allocations: 199.5 kB / 0.9852 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.1868, allocations: 75.78 kB / 0.9853 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.1869, allocations: 117.2 kB / 0.9854 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1871, allocations: 259.6 kB / 0.9857 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1872, allocations: 4 kB / 0.9857 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1872, allocations: 0 / 0.9857 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1872, allocations: 0 / 0.9857 GB, free: 21.59 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005976/0.1878, allocations: 487.1 kB / 0.9861 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1878, allocations: 8.031 kB / 0.9861 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.1879, allocations: 54.73 kB / 0.9862 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005515/0.1884, allocations: 84.67 kB / 0.9863 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1887, allocations: 243.9 kB / 0.9865 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1887, allocations: 16.75 kB / 0.9865 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.1887, allocations: 16.38 kB / 0.9865 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.1891, allocations: 295.3 kB / 0.9868 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1891, allocations: 0 / 0.9868 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.1891, allocations: 19.92 kB / 0.9868 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.1891, allocations: 12.38 kB / 0.9869 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.1894, allocations: 196.7 kB / 0.987 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1904, allocations: 1.468 MB / 0.9885 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1906, allocations: 175.7 kB / 0.9886 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.1907, allocations: 32.78 kB / 0.9887 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1907, allocations: 8 kB / 0.9887 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.1907, allocations: 34.55 kB / 0.9887 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1907, allocations: 0 / 0.9887 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003694/0.1911, allocations: 219.7 kB / 0.9889 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.1911, allocations: 59.34 kB / 0.989 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1913, allocations: 198.3 kB / 0.9892 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.1913, allocations: 33.7 kB / 0.9892 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.1913, allocations: 163.6 kB / 0.9894 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.1914, allocations: 27.64 kB / 0.9894 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.1914, allocations: 0 / 0.9894 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.1914, allocations: 330.8 kB / 0.9897 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/0.1915, allocations: 35.98 kB / 0.9897 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.1916, allocations: 97.97 kB / 0.9898 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1917, allocations: 148.4 kB / 0.99 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1917, allocations: 3.938 kB / 0.99 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002401/0.1919, allocations: 190.2 kB / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.192, allocations: 8 kB / 0.9902 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.192, allocations: 0 / 0.9902 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.1921, allocations: 24.84 kB / 0.9902 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.1922, allocations: 28.05 kB / 0.9902 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006305/0.1929, allocations: 1.323 MB / 0.9915 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.193, allocations: 15.88 kB / 0.9915 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.193, allocations: 4 kB / 0.9915 GB, free: 15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.1931, allocations: 157.9 kB / 0.9917 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.1931, allocations: 19.75 kB / 0.9917 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.1932, allocations: 17.41 kB / 0.9917 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1932, allocations: 0 / 0.9917 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1932, allocations: 7.938 kB / 0.9917 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1932, allocations: 3.984 kB / 0.9917 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.1936, allocations: 443.2 kB / 0.9921 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1936, allocations: 0 / 0.9921 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.1936, allocations: 15.98 kB / 0.9922 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.343e-05/0.1937, allocations: 20.84 kB / 0.9922 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1937, allocations: 4 kB / 0.9922 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005624/0.1943, allocations: 1.307 MB / 0.9935 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1943, allocations: 0 / 0.9935 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.1944, allocations: 216.1 kB / 0.9937 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.1945, allocations: 97 kB / 0.9938 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1945, allocations: 12.03 kB / 0.9938 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.1946, allocations: 4 kB / 0.9938 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.1946, allocations: 7.984 kB / 0.9938 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1947, allocations: 0 / 0.9938 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.379e-05/0.1947, allocations: 148.1 kB / 0.9939 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1947, allocations: 0 / 0.9939 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002749/0.195, allocations: 55.84 kB / 0.994 GB, free: 12.24 MB / 0.6198 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 (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003124/0.1953, allocations: 0.7487 MB / 0.9947 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.1956, allocations: 203 kB / 0.9949 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1956, allocations: 0 / 0.9949 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1958, allocations: 150.8 kB / 0.995 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1961, allocations: 38.19 kB / 0.9951 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1973, allocations: 1.042 MB / 0.9961 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.1975, allocations: 0.7475 MB / 0.9968 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.78e-05/0.1976, allocations: 25.53 kB / 0.9969 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.1976, allocations: 47.42 kB / 0.9969 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.1976, allocations: 0 / 0.9969 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4489/0.6466, allocations: 3.364 MB / 1 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.6468, allocations: 210.7 kB / 1 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.503, allocations: 0 / 1 GB, free: 5.672 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_Resistance.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)