Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001463, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 194.7 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 278.8 kB / 290.2 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9621/0.9621, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 95.2 kB / 0.5945 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1776, allocations: 86.99 MB / 0.6795 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004086/0.1818, allocations: 2.469 MB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1841, allocations: 1.426 MB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1842, allocations: 0 / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006791/0.1849, allocations: 164.7 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.1852, allocations: 124.2 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.1856, allocations: 163.7 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.186, allocations: 319.1 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.1863, allocations: 125.2 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1864, allocations: 79.69 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.1866, allocations: 107.6 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.1867, allocations: 8 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.187, allocations: 219.6 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.1871, allocations: 67.75 kB / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.253e-05/0.1872, allocations: 75.59 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.1875, allocations: 287.1 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1876, allocations: 0 / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1876, allocations: 0 / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1876, allocations: 4 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007092/0.1883, allocations: 471.2 kB / 0.6854 GB, free: 11.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1883, allocations: 8.031 kB / 0.6854 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005439/0.1889, allocations: 68.67 kB / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1892, allocations: 228 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1892, allocations: 12.66 kB / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.1892, allocations: 16.36 kB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.1897, allocations: 292.2 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1897, allocations: 0 / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.1897, allocations: 0 / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.1897, allocations: 24.22 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.1901, allocations: 208.5 kB / 0.6862 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.1917, allocations: 1.58 MB / 0.6877 GB, free: 8.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.1921, allocations: 315.3 kB / 0.688 GB, free: 8.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1922, allocations: 69.62 kB / 0.6881 GB, free: 8.004 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.1923, allocations: 0 / 0.6881 GB, free: 8.004 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1923, allocations: 30.56 kB / 0.6881 GB, free: 7.965 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1923, allocations: 4 kB / 0.6881 GB, free: 7.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005637/0.1929, allocations: 244.7 kB / 0.6884 GB, free: 7.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.1929, allocations: 77.11 kB / 0.6884 GB, free: 7.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1931, allocations: 207.9 kB / 0.6886 GB, free: 7.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1931, allocations: 29.7 kB / 0.6887 GB, free: 7.375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.1932, allocations: 151.6 kB / 0.6888 GB, free: 7.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1933, allocations: 35.55 kB / 0.6888 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.1934, allocations: 49.61 kB / 0.6889 GB, free: 7.133 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1935, allocations: 327 kB / 0.6892 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1936, allocations: 84.69 kB / 0.6893 GB, free: 6.719 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.1938, allocations: 154.1 kB / 0.6894 GB, free: 6.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.194, allocations: 238.9 kB / 0.6897 GB, free: 6.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1941, allocations: 0 / 0.6897 GB, free: 6.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003776/0.1944, allocations: 257.2 kB / 0.6899 GB, free: 6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1945, allocations: 4 kB / 0.6899 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1945, allocations: 4 kB / 0.6899 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1945, allocations: 7.938 kB / 0.6899 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.1947, allocations: 51.91 kB / 0.69 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1948, allocations: 4 kB / 0.69 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.1949, allocations: 24.23 kB / 0.69 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.1949, allocations: 23.92 kB / 0.69 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001597/0.1951, allocations: 156.1 kB / 0.6902 GB, free: 5.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001413/0.1953, allocations: 147.5 kB / 0.6903 GB, free: 5.543 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002386/0.1955, allocations: 215.9 kB / 0.6905 GB, free: 5.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.1955, allocations: 0 / 0.6905 GB, free: 5.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000329/0.1959, allocations: 245.2 kB / 0.6907 GB, free: 5.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.1959, allocations: 4 kB / 0.6908 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.1959, allocations: 8 kB / 0.6908 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.1959, allocations: 4 kB / 0.6908 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.1961, allocations: 47.91 kB / 0.6908 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1961, allocations: 11.94 kB / 0.6908 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.1962, allocations: 12.34 kB / 0.6908 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1962, allocations: 12 kB / 0.6908 GB, free: 4.945 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.642e-05/0.1963, allocations: 200.1 kB / 0.691 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.1964, allocations: 15.81 kB / 0.691 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.1967, allocations: 143 kB / 0.6912 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1967, allocations: 7.938 kB / 0.6912 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1967, allocations: 0 / 0.6912 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.1967, allocations: 3.984 kB / 0.6912 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008745/0.1976, allocations: 0.7158 MB / 0.6919 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1976, allocations: 352 / 0.6919 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1977, allocations: 31.92 kB / 0.6919 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.1977, allocations: 8.031 kB / 0.6919 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1977, allocations: 4 kB / 0.6919 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1977, allocations: 4 kB / 0.6919 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1977, allocations: 0 / 0.6919 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.198, allocations: 382.2 kB / 0.6923 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.1981, allocations: 108.8 kB / 0.6924 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1982, allocations: 11.94 kB / 0.6924 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1983, allocations: 11.98 kB / 0.6924 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1984, allocations: 19.86 kB / 0.6925 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1984, allocations: 4 kB / 0.6925 GB, free: 3.133 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1985, allocations: 144.1 kB / 0.6926 GB, free: 2.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1985, allocations: 0 / 0.6926 GB, free: 2.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.199, allocations: 68 kB / 0.6927 GB, free: 2.926 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001341/0.1992, allocations: 107.2 kB / 0.6928 GB, free: 2.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.1996, allocations: 264.6 kB / 0.693 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1996, allocations: 448 / 0.693 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.334e-05/0.1997, allocations: 63.84 kB / 0.6931 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.2002, allocations: 37.39 kB / 0.6931 GB, free: 2.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.2009, allocations: 479.8 kB / 0.6936 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.2012, allocations: 0.7402 MB / 0.6943 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.2014, allocations: 77.45 kB / 0.6944 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.2015, allocations: 15.44 kB / 0.6944 GB, free: 1.074 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2015, allocations: 0 / 0.6944 GB, free: 1.074 MB / 494.1 MB Notification: Performance of Templates: time 0.004241/0.2057, allocations: 1.68 MB / 0.696 GB, free: 15.41 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)