Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 196 kB / 16.53 MB, free: 6.391 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 291.1 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003105/0.003105, allocations: 100.5 kB / 0.5952 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1697, allocations: 86.99 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.005448/0.1752, allocations: 3.85 MB / 0.6839 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.1781, allocations: 1.757 MB / 0.6857 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.1785, allocations: 4 kB / 0.6857 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.1797, allocations: 461 kB / 0.6861 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005002/0.1802, allocations: 243.5 kB / 0.6863 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.1808, allocations: 252.2 kB / 0.6866 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004769/0.1813, allocations: 0.4984 MB / 0.6871 GB, free: 9.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005394/0.1819, allocations: 356.9 kB / 0.6874 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.1821, allocations: 199.3 kB / 0.6876 GB, free: 9.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.1824, allocations: 227.2 kB / 0.6878 GB, free: 8.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.1825, allocations: 28 kB / 0.6878 GB, free: 8.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.1828, allocations: 195.5 kB / 0.688 GB, free: 8.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1829, allocations: 135.6 kB / 0.6882 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.1831, allocations: 175.1 kB / 0.6883 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000476/0.1836, allocations: 490.5 kB / 0.6888 GB, free: 7.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1836, allocations: 0 / 0.6888 GB, free: 7.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1836, allocations: 0 / 0.6888 GB, free: 7.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1836, allocations: 0 / 0.6888 GB, free: 7.855 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.000998/0.1846, allocations: 0.6588 MB / 0.6894 GB, free: 7.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.1847, allocations: 12.03 kB / 0.6894 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005287/0.1852, allocations: 84.41 kB / 0.6895 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.1855, allocations: 279.7 kB / 0.6898 GB, free: 6.742 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.1855, allocations: 25.02 kB / 0.6898 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.1856, allocations: 36.3 kB / 0.6898 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007529/0.1863, allocations: 490 kB / 0.6903 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1864, allocations: 0 / 0.6903 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.1864, allocations: 16 kB / 0.6903 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.869e-05/0.1865, allocations: 44.61 kB / 0.6904 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.1872, allocations: 366.2 kB / 0.6907 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.1891, allocations: 2.044 MB / 0.6927 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.1897, allocations: 214.7 kB / 0.6929 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/0.1901, allocations: 152.8 kB / 0.6931 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1901, allocations: 4 kB / 0.6931 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.1901, allocations: 42.41 kB / 0.6931 GB, free: 3.082 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.843e-06/0.1901, allocations: 0 / 0.6931 GB, free: 3.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.001041/0.1912, allocations: 429 kB / 0.6935 GB, free: 2.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1912, allocations: 51.41 kB / 0.6936 GB, free: 2.574 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.1915, allocations: 258.7 kB / 0.6938 GB, free: 2.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1915, allocations: 33.7 kB / 0.6939 GB, free: 2.281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1916, allocations: 211.6 kB / 0.6941 GB, free: 2.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.1917, allocations: 67.09 kB / 0.6941 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-05/0.1918, allocations: 53.98 kB / 0.6942 GB, free: 1.941 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1919, allocations: 338.8 kB / 0.6945 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.1921, allocations: 101.9 kB / 0.6946 GB, free: 1.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.1925, allocations: 203.5 kB / 0.6948 GB, free: 1.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.193, allocations: 309.5 kB / 0.6951 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.193, allocations: 4 kB / 0.6951 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007266/0.1937, allocations: 359.8 kB / 0.6954 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1938, allocations: 8 kB / 0.6954 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1938, allocations: 4.469 kB / 0.6954 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.194, allocations: 36.84 kB / 0.6955 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.1942, allocations: 63.89 kB / 0.6955 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.1954, allocations: 1.435 MB / 0.6969 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.1957, allocations: 43.58 kB / 0.697 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.1957, allocations: 19.94 kB / 0.697 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003231/0.196, allocations: 217.2 kB / 0.6972 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003063/0.1963, allocations: 217.5 kB / 0.6974 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005312/0.1969, allocations: 315.1 kB / 0.6977 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.1969, allocations: 0 / 0.6977 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006627/0.1976, allocations: 338.2 kB / 0.698 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.1976, allocations: 8 kB / 0.698 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1976, allocations: 7.938 kB / 0.698 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/0.1976, allocations: 8 kB / 0.6981 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.1979, allocations: 71.89 kB / 0.6981 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1979, allocations: 12.41 kB / 0.6981 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.1981, allocations: 35.83 kB / 0.6982 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1982, allocations: 16 kB / 0.6982 GB, free: 13.45 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.1983, allocations: 204.7 kB / 0.6984 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.1983, allocations: 23.72 kB / 0.6984 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.1984, allocations: 26.19 kB / 0.6984 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1984, allocations: 4 kB / 0.6984 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1984, allocations: 3.984 kB / 0.6984 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1984, allocations: 4 kB / 0.6984 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.1995, allocations: 0.7559 MB / 0.6992 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1995, allocations: 0 / 0.6992 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.1997, allocations: 39.97 kB / 0.6992 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.404e-05/0.1998, allocations: 28.84 kB / 0.6992 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1999, allocations: 0 / 0.6992 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.2009, allocations: 1.426 MB / 0.7006 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2009, allocations: 4.031 kB / 0.7006 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.2016, allocations: 365.6 kB / 0.701 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.2018, allocations: 120.7 kB / 0.7011 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.2018, allocations: 4 kB / 0.7011 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.202, allocations: 15.98 kB / 0.7011 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.202, allocations: 15.98 kB / 0.7011 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2021, allocations: 11.92 kB / 0.7011 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001724/0.2022, allocations: 178 kB / 0.7013 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2022, allocations: 4 kB / 0.7013 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005608/0.2028, allocations: 143.6 kB / 0.7015 GB, free: 9.824 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001185/0.2029, allocations: 111.1 kB / 0.7016 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.204, allocations: 0.4959 MB / 0.702 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.204, allocations: 0 / 0.702 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.2044, allocations: 226.8 kB / 0.7023 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.2049, allocations: 82.36 kB / 0.7023 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008908/0.2058, allocations: 0.5527 MB / 0.7029 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.2062, allocations: 0.7996 MB / 0.7037 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000223/0.2064, allocations: 62.23 kB / 0.7037 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.2065, allocations: 19.44 kB / 0.7037 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.2065, allocations: 0 / 0.7037 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of Templates: time 0.007334/0.2138, allocations: 3.541 MB / 0.7072 GB, free: 3.898 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)