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.001788/0.001787, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001989/0.001989, allocations: 192.4 kB / 16.14 MB, free: 6.715 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002665/0.002665, allocations: 283.1 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 97.56 kB / 0.6057 GB, free: 25.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1689, allocations: 89.16 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.005827/0.1748, allocations: 3.879 MB / 0.6966 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.1775, allocations: 1.77 MB / 0.6983 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1777, allocations: 13.66 kB / 0.6983 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.1789, allocations: 414.2 kB / 0.6987 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.1794, allocations: 233.8 kB / 0.6989 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.1799, allocations: 227.6 kB / 0.6992 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007392/0.1806, allocations: 0.7012 MB / 0.6998 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.1811, allocations: 241.9 kB / 0.7001 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.1813, allocations: 175.3 kB / 0.7002 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.1817, allocations: 239.1 kB / 0.7005 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.1818, allocations: 20 kB / 0.7005 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.1822, allocations: 231.5 kB / 0.7007 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.1823, allocations: 123.6 kB / 0.7008 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.1825, allocations: 171.1 kB / 0.701 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.1832, allocations: 0.4905 MB / 0.7015 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1832, allocations: 4 kB / 0.7015 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1832, allocations: 0 / 0.7015 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.1832, allocations: 0 / 0.7015 GB, free: 11.93 MB / 0.4981 GB 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.001289/0.1845, allocations: 0.651 MB / 0.7021 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1846, allocations: 12.03 kB / 0.7021 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005886/0.1852, allocations: 88.41 kB / 0.7022 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.1856, allocations: 295.9 kB / 0.7025 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.1857, allocations: 21.03 kB / 0.7025 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.1857, allocations: 32.36 kB / 0.7025 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008957/0.1866, allocations: 490 kB / 0.703 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1867, allocations: 0 / 0.703 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.1867, allocations: 12 kB / 0.703 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.177e-05/0.1868, allocations: 40.62 kB / 0.7031 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/0.1876, allocations: 366.2 kB / 0.7034 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.1901, allocations: 2.048 MB / 0.7054 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.1907, allocations: 212 kB / 0.7056 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/0.1911, allocations: 156.8 kB / 0.7058 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.1912, allocations: 7.938 kB / 0.7058 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1912, allocations: 30.56 kB / 0.7058 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.1912, allocations: 0 / 0.7058 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.001157/0.1924, allocations: 429.5 kB / 0.7062 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.1924, allocations: 51.41 kB / 0.7063 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.1927, allocations: 262.6 kB / 0.7065 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.1927, allocations: 29.7 kB / 0.7065 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.193, allocations: 215.7 kB / 0.7067 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.193, allocations: 67.03 kB / 0.7068 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1931, allocations: 61.89 kB / 0.7069 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1933, allocations: 334.8 kB / 0.7072 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.1936, allocations: 93.92 kB / 0.7073 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.1939, allocations: 211.5 kB / 0.7075 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.1945, allocations: 313.4 kB / 0.7078 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.1945, allocations: 7.984 kB / 0.7078 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008212/0.1954, allocations: 352.1 kB / 0.7081 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1954, allocations: 8 kB / 0.7081 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1954, allocations: 4 kB / 0.7081 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.1956, allocations: 33.09 kB / 0.7082 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.1959, allocations: 75.83 kB / 0.7082 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.1973, allocations: 1.331 MB / 0.7095 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.1976, allocations: 39.67 kB / 0.7096 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.1977, allocations: 19.98 kB / 0.7096 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000384/0.1981, allocations: 212.6 kB / 0.7098 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003475/0.1984, allocations: 213.1 kB / 0.71 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006009/0.199, allocations: 322.5 kB / 0.7103 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.199, allocations: 0 / 0.7103 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007279/0.1998, allocations: 332.9 kB / 0.7106 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1998, allocations: 8 kB / 0.7106 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1998, allocations: 8.438 kB / 0.7106 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.223e-06/0.1998, allocations: 12 kB / 0.7106 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.2001, allocations: 75.83 kB / 0.7107 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.2001, allocations: 7.984 kB / 0.7107 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.2004, allocations: 35.81 kB / 0.7108 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.2004, allocations: 16 kB / 0.7108 GB, free: 1.629 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.0001454/0.2006, allocations: 196.8 kB / 0.711 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.2006, allocations: 31.66 kB / 0.711 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.2007, allocations: 34.17 kB / 0.711 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2007, allocations: 4 kB / 0.711 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2007, allocations: 0 / 0.711 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2007, allocations: 0 / 0.711 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.202, allocations: 0.752 MB / 0.7118 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.202, allocations: 0 / 0.7118 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.2022, allocations: 43.91 kB / 0.7118 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/0.2023, allocations: 24.84 kB / 0.7118 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2024, allocations: 8.062 kB / 0.7118 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.2036, allocations: 1.323 MB / 0.7131 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2036, allocations: 0 / 0.7131 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006815/0.2043, allocations: 365.7 kB / 0.7135 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.2044, allocations: 112.8 kB / 0.7136 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.2044, allocations: 15.92 kB / 0.7136 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.2046, allocations: 15.98 kB / 0.7136 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.2047, allocations: 15.92 kB / 0.7136 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.2047, allocations: 8 kB / 0.7136 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001937/0.2049, allocations: 182 kB / 0.7138 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2049, allocations: 0 / 0.7138 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006054/0.2056, allocations: 151.5 kB / 0.714 GB, free: 14.11 MB / 0.5137 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.0001327/0.2057, allocations: 99.25 kB / 0.714 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.2068, allocations: 493.6 kB / 0.7145 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2068, allocations: 0 / 0.7145 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.2072, allocations: 218.8 kB / 0.7147 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.2078, allocations: 64.59 kB / 0.7148 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2088, allocations: 0.6789 MB / 0.7155 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.2093, allocations: 0.7957 MB / 0.7162 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.2095, allocations: 70.22 kB / 0.7163 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.2096, allocations: 23.44 kB / 0.7163 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.2096, allocations: 0 / 0.7163 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.007637/0.2172, allocations: 3.247 MB / 0.7195 GB, free: 8.387 MB / 0.5137 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)